set $mod Mod4 set $alt Mod1 ###################### #startup applications# ###################### # {{{ kepmap #exec_always "setxkbmap -layout 'us,de' -variant dvorak-alt-intl, -option grp:caps_toggle" #bindsym Caps_Lock exec "setxkbmap -layout 'us,de' -variant dvorak-alt-intl, -option grp:caps_toggle" exec_always "setxkbbap -layout de -variant nodeadkeys" bindsym --release Caps_Lock exec pkill -SIGRTMIN+10 i3block bindsym $mod+z exec setxkbmap -layout de -variant nodeadkeys # }}} # {{{ user applications exec "gentoo-pipewire-launcher" exec thunderbird #exec telegram-desktop # }}} # {{{ xrandr #exec_always xrandr --output DisplayPort-0 --primary --mode 2560x1440 --rate 144.00 --output DisplayPort-1 --mode 1920x1080 --rate 60 --right-of DisplayPort-0 --output HDMI-A-0 --set non-desktop 1 --output DisplayPort-2 --set non-desktop 1 exec_always xrandr --output DisplayPort-0 --primary --mode 2560x1440 --rate 144.00 exec_always xrandr --output DisplayPort-0 --primary --mode 2560x1440 --rate 144.00 --output DisplayPort-1 --mode 1920x1080 --rate 60 --right-of DisplayPort-0 #exec_always xrandr --output DisplayPort-0 --primary --mode 2560x1440 --rate 144.00 --output DisplayPort-1 --mode 1920x1080 --rate 60 --right-of DisplayPort-0 --output HDMI-A-0 --mode 1920x1080 --rate 60 --left-of DisplayPort-0 --output DisplayPort-2 --set non-desktop 1 exec_always xinput --map-to-output 'UGTABLET 15.6 inch PenDisplay stylus' HDMI-A-0 exec_always xinput --map-to-output 'UGTABLET 15.6 inch PenDisplay eraser' HDMI-A-0 # }}} ########## #bindings# ########## # {{{ applications bindsym $mod+u exec --no-startup-id ~/apps/rlaunch/target/lto/rlaunch bindsym $mod+Shift+g exec ~/apps/st/st -e gentoo-pipewire-launcher bindsym $mod+i exec ~/apps/st/st -c qalc -e qalc bindsym $mod+Control+v exec ~/qemu/trolling_media bindsym $mod+e exec ~/apps/st/st -e ranger #bindsym $mod+m exec --no-startup-id ~/apps/st/st -e ~/apps/termusic/target/release/termusic #bindsym $mod+Escape exec ~/apps/st/st -e htop bindsym $mod+Shift+equal exec ~/apps/st/st -e bluetoothctl bindsym $mod+p exec pavucontrol bindsym $mod+y exec firefox bindsym --release $mod+b exec --no-startup-id import -window $(xdotool getwindowfocus -f) /home/toaster/Pictures/screenshots/$(date '+%Y-%m-%dT%H-%M-%S-')screenshot.webp bindsym --release $mod+Shift+b exec --no-startup-id import -window root /home/toaster/Pictures/screenshots/$(date '+%Y-%m-%dT%H-%M-%S-')screenshot.webp bindsym --release $mod+m exec --no-startup-id import /home/toaster/Pictures/screenshots/$(date '+%Y-%m-%dT%H-%M-%S-')screenshot.webp bindsym --release $mod+Shift+m exec --no-startup-id import /home/toaster/Pictures/screenshots/$(date '+%Y-%m-%dT%H-%M-%S-')screenshot.png # bindsym --release $mod+Shift+x exec import ~/Pictures/screenshots/$(date '+%Y-%m-%dT%H-%M-%S-')screenshot.png bindsym $mod+Control+x exec --no-startup-id import root ~/Pictures/screenshots/$(date '+%Y-%m-%dT%H-%M-%S-')screenshot.png # }}} # {{{ native bindsym $mod+space exec ~/apps/st/st bindsym $mod+k kill bindsym $mod+r mode "resize" # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # 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'" # }}} ############ #navigation# ############ # {{{ window based mouse_warping output focus_follows_mouse yes bindsym $mod+Shift+d split h bindsym $mod+d split v bindsym $mod+f fullscreen toggle # bindsym $mod+s layout stacking # bindsym $mod+w layout tabbed bindsym $mod+o layout toggle split bindsym $mod+Return floating toggle bindsym $mod+$alt+Return focus mode_toggle #bindsym $mod+c focus child # }}} # {{{ movement # change focus bindsym $mod+h focus left bindsym $mod+t focus down bindsym $mod+n focus up bindsym $mod+s focus right bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window bindsym $mod+$alt+h move left bindsym $mod+$alt+t move down bindsym $mod+$alt+n move up bindsym $mod+$alt+s move right bindsym $mod+$alt+Left move left bindsym $mod+$alt+Down move down bindsym $mod+$alt+Up move up bindsym $mod+$alt+Right move right # }}} # {{{ workspaces # switch to workspace bindsym $mod+1 workspace number $ws1 bindsym $mod+2 workspace number $ws2 bindsym $mod+3 workspace number $ws3 bindsym $mod+4 workspace number $ws4 bindsym $mod+5 workspace number $ws5 bindsym $mod+6 workspace number $ws6 bindsym $mod+7 workspace number $ws7 bindsym $mod+8 workspace number $ws8 bindsym $mod+9 workspace number $ws9 bindsym $mod+0 workspace number $ws10 bindsym $mod+ctrl+1 workspace number $ws11 bindsym $mod+ctrl+2 workspace number $ws12 bindsym $mod+ctrl+3 workspace number $ws13 bindsym $mod+ctrl+4 workspace number $ws14 bindsym $mod+ctrl+5 workspace number $ws15 bindsym $mod+ctrl+6 workspace number $ws16 bindsym $mod+ctrl+7 workspace number $ws17 bindsym $mod+ctrl+8 workspace number $ws18 bindsym $mod+ctrl+9 workspace number $ws19 bindsym $mod+ctrl+0 workspace number $ws20 # move focused container to workspace bindsym $mod+$alt+1 move container to workspace number $ws1 bindsym $mod+$alt+2 move container to workspace number $ws2 bindsym $mod+$alt+3 move container to workspace number $ws3 bindsym $mod+$alt+4 move container to workspace number $ws4 bindsym $mod+$alt+5 move container to workspace number $ws5 bindsym $mod+$alt+6 move container to workspace number $ws6 bindsym $mod+$alt+7 move container to workspace number $ws7 bindsym $mod+$alt+8 move container to workspace number $ws8 bindsym $mod+$alt+9 move container to workspace number $ws9 bindsym $mod+$alt+0 move container to workspace number $ws10 bindsym $mod+$alt+ctlr+1 move container to workspace number $ws11 bindsym $mod+$alt+ctlr+2 move container to workspace number $ws12 bindsym $mod+$alt+ctlr+3 move container to workspace number $ws13 bindsym $mod+$alt+ctlr+4 move container to workspace number $ws14 bindsym $mod+$alt+ctlr+5 move container to workspace number $ws15 bindsym $mod+$alt+ctlr+6 move container to workspace number $ws16 bindsym $mod+$alt+ctlr+7 move container to workspace number $ws17 bindsym $mod+$alt+ctlr+8 move container to workspace number $ws18 bindsym $mod+$alt+ctlr+9 move container to workspace number $ws19 bindsym $mod+$alt+ctlr+0 move container to workspace number $ws20 # }}} ################### #workpaces/windows# ################### # {{{ window rules for_window [class="feh" instance="feh"] floating enable, move position center for_window [class="mpv" instance="mpv"] floating enable for_window [class="Steam - News" instance="Steam - News"] floating enable for_window [class="qalc"] floating enable, resize set 400 200, move position center # }}} # {{{ workspace rules #assign [class="Telegram"] $ws10 #assign [class="firefox"] $ws9 assign [class="pentablet"] $ws20 #assign [class="Unity"] $ws8 # }}} # {{{ resize rules mode "resize" { # These bindings trigger as soon as you enter the resize mode bindsym h resize shrink width 10 px or 10 ppt bindsym t resize grow height 10 px or 10 ppt bindsym n resize shrink height 10 px or 10 ppt bindsym s resize grow width 10 px or 10 ppt # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" bindsym Escape mode "default" bindsym $mod+r mode "default" } # }}} # {{{ names set $ws1 "1" set $ws2 "2" set $ws3 "3" set $ws4 "4" set $ws5 "5" set $ws6 "6" set $ws7 "7" set $ws8 "8" set $ws9 "9" set $ws10 "10" set $ws11 "11" set $ws12 "12" set $ws13 "13" set $ws14 "14" set $ws15 "15" set $ws16 "16" set $ws17 "17" set $ws18 "18" set $ws19 "19" set $ws20 "20" # }}} # {{{ display output workspace $ws1 output DisplayPort-0 workspace $ws2 output DisplayPort-0 workspace $ws3 output DisplayPort-0 workspace $ws4 output DisplayPort-0 workspace $ws5 output DisplayPort-0 workspace $ws6 output DisplayPort-0 workspace $ws7 output DisplayPort-0 workspace $ws8 output DisplayPort-0 workspace $ws9 output DisplayPort-0 workspace $ws10 output DisplayPort-1 workspace $ws16 output DisplayPort-1 workspace $ws17 output DisplayPort-1 workspace $ws18 output DisplayPort-1 workspace $ws19 output DisplayPort-1 workspace $ws11 output DisplayPort-1 workspace $ws12 output DisplayPort-1 workspace $ws13 output DisplayPort-1 workspace $ws14 output DisplayPort-1 workspace $ws15 output DisplayPort-1 workspace $ws20 output HDMI-A-0 # }}} ######## #ricing# ######## # {{{ desktop font pango:JetBrainsMono Nerd Font Mono 10 for_window [class="^.*"] border pixel 1 exec_always feh --no-fehbg --bg-scale ~/Pictures/bg_00001e.png smart_borders on # }}} # {{{ colors & bar ## class border backgr. text indicator child_border client.focused #75006b #75006b #75006b #f200de #75006b client.focused_inactive #00001e #00001e #00001e #00001e #00001e client.unfocused #00001e #00001e #00001e #00001e #00001e client.background #00001e bar { status_command i3blocks -c ~/.config/i3/i3blocks.conf tray_output primary position top height 15 colors { background #00001e statusline #75006b focused_workspace #00001e #00001e #75006b active_workspace #00001e #00001e #825af0 inactive_workspace #00001e #00001e #825af0 urgent_workspace #00001e #00001e #e85a00 #00001e } }