i3 changes

This commit is contained in:
Tobias Manske 2018-04-07 03:50:05 +02:00
parent ab1a1f8f13
commit b5da3021fe
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F
3 changed files with 11 additions and 3 deletions

View File

@ -6,7 +6,7 @@
assign [class="Firefox"] $ws1 assign [class="Firefox"] $ws1
# Terminal # Terminal
assign [class="URxvt"] $ws2 assign [class="URxvt" instance="urxvt"] $ws2
# CHAT # CHAT
assign [class="discord"] $ws4 assign [class="discord"] $ws4

View File

@ -24,6 +24,14 @@ font pango:Hack 8
# X core fonts rendering does not support right-to-left and this being a bitmap # X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesnt scale on retina/hidpi displays. # font, it doesnt scale on retina/hidpi displays.
# {{{ DROPDOWN TERMINAL }}}
for_window [instance="dropdown"] floating enable
for_window [instance="dropdown"] resize set 625 400
for_window [instance="dropdown"] move scratchpad
for_window [instance="dropdown"] border pixel 2
exec --no-startup-id $TERMINAL -name dropdown
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod floating_modifier $mod
@ -108,8 +116,8 @@ floating_modifier $mod
# exit i3 (logs you out of your X session) # exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# UNBIND F1 # BIND DROPDOWN TERMINAL TO F1
bindsym F1 exec --no-startup-id echo > /dev/null bindsym F1 [instance="dropdown"] scratchpad show; [instance="dropdown"] move position center
# Urgent window # Urgent window
bindsym $mod+x [urgent=latest] focus bindsym $mod+x [urgent=latest] focus

Binary file not shown.