1
0
Fork 0

i3: fix alacritty class

dropdown-term script is necessary because i3 doesn't like the ,
This commit is contained in:
tastytea 2022-09-23 19:30:39 +02:00
parent 0e9f96b30f
commit 8761adfebe
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 8 additions and 4 deletions

View File

@ -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+BackSpace exec --no-startup-id ~/bin/suspend_jan
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 \
-a -f '--class="dropdown"' alacritty
bindsym $mod+asciicircum exec $ddterm_command
bindsym $mod+dead_circumflex exec $ddterm_command
bindsym $mod+asciicircum exec dropdown-term
bindsym $mod+dead_circumflex exec dropdown-term
bindsym --release $mod+Delete exec xkill
bindsym $mod+period exec dunstctl history-pop
bindsym $mod+c exec --no-startup-id rofi -show ssh

6
.local/bin/dropdown-term Executable file
View File

@ -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