i3: fix alacritty class
dropdown-term script is necessary because i3 doesn't like the ,
This commit is contained in:
parent
0e9f96b30f
commit
8761adfebe
|
@ -182,10 +182,8 @@ bindsym --release control+Print exec --no-startup-id flameshot screen
|
||||||
bindsym $mod+Shift+l exec --no-startup-id ~/bin/lock_jan
|
bindsym $mod+Shift+l exec --no-startup-id ~/bin/lock_jan
|
||||||
bindsym $mod+Shift+BackSpace exec --no-startup-id ~/bin/suspend_jan
|
bindsym $mod+Shift+BackSpace exec --no-startup-id ~/bin/suspend_jan
|
||||||
bindsym mod1+Tab exec --no-startup-id rofi -show window
|
bindsym mod1+Tab exec --no-startup-id rofi -show window
|
||||||
set $ddterm_command tdrop -n "ddterm" -m -w "50%" -h "60%" -x "50%" -y 0 \
|
bindsym $mod+asciicircum exec dropdown-term
|
||||||
-a -f '--class="dropdown"' alacritty
|
bindsym $mod+dead_circumflex exec dropdown-term
|
||||||
bindsym $mod+asciicircum exec $ddterm_command
|
|
||||||
bindsym $mod+dead_circumflex exec $ddterm_command
|
|
||||||
bindsym --release $mod+Delete exec xkill
|
bindsym --release $mod+Delete exec xkill
|
||||||
bindsym $mod+period exec dunstctl history-pop
|
bindsym $mod+period exec dunstctl history-pop
|
||||||
bindsym $mod+c exec --no-startup-id rofi -show ssh
|
bindsym $mod+c exec --no-startup-id rofi -show ssh
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
setopt LOCAL_OPTIONS ERR_RETURN NO_UNSET PIPE_FAIL
|
||||||
|
|
||||||
|
tdrop -n ddterm -m -w 50% -h 60% -x 50% -y 0 -a \
|
||||||
|
-f '--class=Alacritty,dropdown' alacritty
|
Loading…
Reference in New Issue