158 lines
5.7 KiB
Plaintext
158 lines
5.7 KiB
Plaintext
font pango:FontAwesome 8, Hack 10
|
|
floating_modifier Mod4
|
|
new_window normal 2
|
|
new_float normal 2
|
|
hide_edge_borders none
|
|
force_focus_wrapping no
|
|
focus_follows_mouse yes
|
|
focus_on_window_activation smart
|
|
mouse_warping output
|
|
workspace_layout default
|
|
|
|
client.focused #421304 #0c56ef #ffffff #421304 #421304
|
|
client.focused_inactive #02111b #283044 #ffffff #02111b #02111b
|
|
client.unfocused #333333 #283044 #888888 #292d2e #5f819d
|
|
client.urgent #d62246 #ef476f #d4f4dd #d62246 #d62246
|
|
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
|
client.background #1d1f21
|
|
|
|
bindsym Mod4+1 workspace 1
|
|
bindsym Mod4+2 workspace 2
|
|
bindsym Mod4+3 workspace 3
|
|
bindsym Mod4+4 workspace 4
|
|
bindsym Mod4+5 workspace 5
|
|
bindsym Mod4+6 workspace 6
|
|
bindsym Mod4+7 workspace 7
|
|
bindsym Mod4+8 workspace 8
|
|
bindsym Mod4+9 workspace 9
|
|
bindsym Mod4+Backspace scratchpad show
|
|
bindsym Mod4+Down focus down
|
|
bindsym Mod4+Left focus left
|
|
bindsym Mod4+Print exec shutter -s
|
|
bindsym Mod4+Return exec alacritty
|
|
bindsym Mod4+Right focus right
|
|
bindsym Mod4+Shift+1 move container to workspace 1
|
|
bindsym Mod4+Shift+2 move container to workspace 2
|
|
bindsym Mod4+Shift+3 move container to workspace 3
|
|
bindsym Mod4+Shift+4 move container to workspace 4
|
|
bindsym Mod4+Shift+5 move container to workspace 5
|
|
bindsym Mod4+Shift+6 move container to workspace 6
|
|
bindsym Mod4+Shift+7 move container to workspace 7
|
|
bindsym Mod4+Shift+8 move container to workspace 8
|
|
bindsym Mod4+Shift+9 move container to workspace 9
|
|
bindsym Mod4+Shift+Backspace move scratchpad
|
|
bindsym Mod4+Shift+Down move down
|
|
bindsym Mod4+Shift+Left move left
|
|
bindsym Mod4+Shift+Print exec spectacle --region --clipboard --background
|
|
bindsym Mod4+Shift+Right move right
|
|
bindsym Mod4+Shift+Tab workspace prev
|
|
bindsym Mod4+Shift+Up move up
|
|
bindsym Mod4+Shift+c reload
|
|
bindsym Mod4+Shift+e exec --no-startup-id systemctl suspend && sh -c '/usr/bin/i3lock -c 2e294e && sleep 5'
|
|
bindsym Mod4+Shift+h exec --no-startup-id systemctl hibernate && sh -c /usr/bin/i3lock -c 2e294e && sleep 5'
|
|
bindsym Mod4+Shift+l exec --no-startup-id systemctl exit
|
|
bindsym Mod4+Shift+q kill
|
|
bindsym Mod4+Shift+r exec --no-startup-id systemctl reboot
|
|
bindsym Mod4+Shift+s exec --no-startup-id systemctl poweroff
|
|
bindsym Mod4+Shift+space floating toggle
|
|
bindsym Mod4+Tab workspace next
|
|
bindsym Mod4+Up focus up
|
|
bindsym Mod4+d exec /usr/bin/rofi -show drun
|
|
bindsym Mod4+a exec /usr/bin/rofi -show ssh
|
|
bindsym Mod4+e layout toggle split
|
|
bindsym Mod4+f fullscreen toggle
|
|
bindsym Mod4+h split h
|
|
bindsym Mod4+l exec sh -c '/usr/bin/i3lock -c 2e294e && sleep 5'
|
|
bindsym Mod4+p exec systemctl --user restart polybar
|
|
bindsym Mod4+r mode resize
|
|
bindsym Mod4+s layout stacking
|
|
bindsym Mod4+space focus mode_toggle
|
|
bindsym Mod4+v split v
|
|
bindsym Mod4+w layout tabbed
|
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5%
|
|
bindsym XF86AudioMute exec amixer sset 'Master' toggle
|
|
bindsym XF86AudioNext exec playerctl next
|
|
bindsym XF86AudioPause exec playerctl play-pause
|
|
bindsym XF86AudioPlay exec playerctl play-pause
|
|
bindsym XF86AudioPrev exec playerctl previous
|
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
|
|
bindsym XF86MonBrightnessDown exec brightnessctl s 20%-
|
|
bindsym XF86MonBrightnessUp exec brightnessctl s +20%
|
|
|
|
bindsym AltGr+F5 exec playerctl play-pause
|
|
|
|
bindsym Mod4+n exec --no-startup-id ~/.config/i3/scripts/i3-empty-workspace.sh
|
|
bindsym Mod4+Shift+n exec --no-startup-id ~/.config/i3/scripts/i3-move-to-empty-workspace.sh
|
|
bindsym Mod4+Control+Shift+n exec --no-startup-id ~/.config/i3/scripts/i3-move-to-empty-workspace.sh switch
|
|
|
|
# Resizing windows in i3 using keyboard only
|
|
# https://unix.stackexchange.com/q/255344/150597
|
|
|
|
# Resizing by 1
|
|
bindsym Mod4+Ctrl+Right resize shrink width 1 px or 1 ppt
|
|
bindsym Mod4+Ctrl+Up resize grow height 1 px or 1 ppt
|
|
bindsym Mod4+Ctrl+Down resize shrink height 1 px or 1 ppt
|
|
bindsym Mod4+Ctrl+Left resize grow width 1 px or 1 ppt
|
|
|
|
# Resizing by 10
|
|
bindsym Mod4+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
|
|
bindsym Mod4+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
|
|
bindsym Mod4+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
|
|
bindsym Mod4+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
|
|
|
|
|
|
|
|
bar {
|
|
|
|
font pango:monospace 8
|
|
mode dock
|
|
hidden_state hide
|
|
position top
|
|
status_command /home/konrad/opt/i3status-rust/target/release/i3status-rs
|
|
i3bar_command i3bar
|
|
workspace_buttons yes
|
|
strip_workspace_numbers no
|
|
tray_output primary
|
|
colors {
|
|
background #2b303b
|
|
statusline #dcdcdc
|
|
separator #666666
|
|
focused_workspace #421304 #0c56ef #ffffff
|
|
active_workspace #333333 #5f676a #ffffff
|
|
inactive_workspace #333333 #2b303b #888888
|
|
urgent_workspace #d62246 #ef476f #d4f4dd
|
|
binding_mode #2f343a #900000 #ffffff
|
|
}
|
|
font pango:monospace 9
|
|
}
|
|
|
|
|
|
# Fix notifications for Microsoft teams
|
|
for_window [title="Microsoft Teams Notification" class="microsoft teams - preview"] floating enable
|
|
for_window [title="Microsoft Teams Notification" class="Microsoft Teams - Preview"] floating enable
|
|
for_window [title="Microsoft Teams-Benachrichtigung" class="microsoft teams - preview"] floating enable
|
|
for_window [title="Microsoft Teams-Benachrichtigung" class="Microsoft Teams - Preview"] floating enable
|
|
for_window [title="Taschenrechner"] floating enable
|
|
for_window [title="NoiseTorch"] floating enable
|
|
for_window [title="win0"] floating enable
|
|
for_window [title="Erinnerungen"] floating enable
|
|
|
|
exec xrandr --output VGA-0 --auto --left-of HDMI-0
|
|
|
|
exec_always --no-startup-id systemctl --user restart polybar
|
|
|
|
exec feh --bg-fill ~/Bilder/bg
|
|
|
|
exec_always --no-startup-id setxkbmap -layout de
|
|
|
|
exec_always --no-startup-id setxkbmap -option 'grp:alt_shift_toggle'
|
|
|
|
exec_always --no-startup-id nm-applet
|
|
|
|
exec_always ~/.config/i3/gnome-keyring.sh
|
|
|
|
exec_always --no-startup-id autorandr -c desktop-three-screens
|
|
|
|
exec_always --no-startup-id gnome-keyring-daemon
|
|
|