199 lines
5.8 KiB
Plaintext
199 lines
5.8 KiB
Plaintext
set $rosewater #f5e0dc
|
|
set $flamingo #f2cdcd
|
|
set $pink #f5c2e7
|
|
set $mauve #cba6f7
|
|
set $red #f38ba8
|
|
set $maroon #eba0ac
|
|
set $peach #fab387
|
|
set $yellow #f9e2af
|
|
set $green #a6e3a1
|
|
set $teal #94e2d5
|
|
set $sky #89dceb
|
|
set $sapphire #74c7ec
|
|
set $blue #89b4fa
|
|
set $lavender #b4befe
|
|
set $text #cdd6f4
|
|
set $subtext1 #bac2de
|
|
set $subtext0 #a6adc8
|
|
set $overlay2 #9399b2
|
|
set $overlay1 #7f849c
|
|
set $overlay0 #6c7086
|
|
set $surface2 #585b70
|
|
set $surface1 #45475a
|
|
set $surface0 #313244
|
|
set $base #1e1e2e
|
|
set $mantle #181825
|
|
set $crust #11111b
|
|
|
|
|
|
# target title bg text indicator border
|
|
client.focused $lavender $crust $text $rosewater $lavender
|
|
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
|
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
|
client.urgent $peach $base $peach $overlay0 $peach
|
|
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
|
client.background $base
|
|
|
|
set $mod Mod4
|
|
|
|
for_window [class="^.*"] title_format "%title"
|
|
title_align center
|
|
default_orientation auto
|
|
focus_wrapping no
|
|
popup_during_fullscreen smart
|
|
force_display_urgency_hint 1000 ms
|
|
focus_on_window_activation urgent
|
|
workspace_auto_back_and_forth yes
|
|
|
|
font pango:FiraCode Nerd Font Mono Regular 10
|
|
|
|
default_border pixel 4
|
|
default_floating_border pixel 4
|
|
smart_borders on
|
|
|
|
gaps inner 8
|
|
gaps outer 0
|
|
smart_gaps on
|
|
|
|
hide_edge_borders none
|
|
|
|
for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
|
|
for_window [class="zoom"] floating enable
|
|
|
|
mouse_warping none
|
|
|
|
exec --no-startup-id picom
|
|
#exec --no-startup-id ~/.config/i3/setup_monitors.sh
|
|
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
|
|
|
exec --no-startup-id /usr/lib/xdg-desktop-portal &
|
|
exec --no-startup-id /usr/lib/xdg-desktop-portal-gtk &
|
|
|
|
# Start XDG autostart .desktop files using dex. See also
|
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
|
exec --no-startup-id dex --autostart --environment i3
|
|
|
|
|
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
floating_modifier $mod
|
|
|
|
# move tiling windows via drag & drop by left-clicking into the title bar,
|
|
# or left-clicking anywhere into the window while holding the floating modifier.
|
|
tiling_drag modifier titlebar
|
|
|
|
# start a terminal
|
|
bindsym $mod+Return exec alacritty
|
|
|
|
# kill focused window
|
|
bindsym $mod+a kill
|
|
|
|
bindsym $mod+d exec --no-startup-id rofi -show run
|
|
bindsym $mod+Tab exec --no-startup-id rofi -show window
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
bindsym $mod+Left focus left
|
|
bindsym $mod+Down focus down
|
|
bindsym $mod+Up focus up
|
|
bindsym $mod+Right focus right
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
bindsym $mod+Shift+Left move left
|
|
bindsym $mod+Shift+Down move down
|
|
bindsym $mod+Shift+Up move up
|
|
bindsym $mod+Shift+Right move right
|
|
|
|
# split in horizontal orientation
|
|
bindsym $mod+h split h
|
|
|
|
# split in vertical orientation
|
|
bindsym $mod+v split v
|
|
|
|
# enter fullscreen mode for the focused container
|
|
bindsym $mod+f fullscreen toggle
|
|
|
|
# change container layout (stacked, tabbed, toggle split)
|
|
bindsym $mod+s layout stacking
|
|
bindsym $mod+z layout tabbed
|
|
bindsym $mod+e layout toggle split
|
|
|
|
# toggle tiling / floating
|
|
bindsym $mod+Shift+space floating toggle
|
|
|
|
# change focus between tiling / floating windows
|
|
bindsym $mod+space focus mode_toggle
|
|
|
|
# focus the parent container
|
|
bindsym $mod+q focus parent
|
|
|
|
# focus the child container
|
|
#bindsym $mod+d focus child
|
|
|
|
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"
|
|
|
|
workspace $ws1 output DP-0
|
|
workspace $ws2 output DP-0
|
|
workspace $ws3 output DP-0
|
|
workspace $ws4 output DP-2
|
|
workspace $ws5 output DP-2
|
|
workspace $ws6 output DP-2
|
|
workspace $ws7 output DP-1-3
|
|
workspace $ws8 output DP-1-3
|
|
workspace $ws9 output DP-1-3
|
|
workspace $ws10 output DP-0
|
|
|
|
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+Shift+1 move container to workspace number $ws1
|
|
bindsym $mod+Shift+2 move container to workspace number $ws2
|
|
bindsym $mod+Shift+3 move container to workspace number $ws3
|
|
bindsym $mod+Shift+4 move container to workspace number $ws4
|
|
bindsym $mod+Shift+5 move container to workspace number $ws5
|
|
bindsym $mod+Shift+6 move container to workspace number $ws6
|
|
bindsym $mod+Shift+7 move container to workspace number $ws7
|
|
bindsym $mod+Shift+8 move container to workspace number $ws8
|
|
bindsym $mod+Shift+9 move container to workspace number $ws9
|
|
bindsym $mod+Shift+0 move container to workspace number $ws10
|
|
|
|
bindsym $mod+Shift+c reload
|
|
bindsym $mod+Shift+r restart
|
|
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+l exec betterlockscreen -l dimblur --display 1 --off 10
|
|
|
|
bindsym $mod+r mode "resize"
|
|
mode "resize" {
|
|
bindsym Left resize shrink width 10 px or 10 ppt
|
|
bindsym Down resize grow height 10 px or 10 ppt
|
|
bindsym Up resize shrink height 10 px or 10 ppt
|
|
bindsym Right resize grow width 10 px or 10 ppt
|
|
|
|
bindsym Return mode "default"
|
|
bindsym Escape mode "default"
|
|
bindsym $mod+r mode "default"
|
|
}
|
|
|
|
|
|
#exec --no-startup-id xautolock -time 10 -locker "betterlockscreen -l dimblur --display 1 --off 10" -notify 30 -notifier "notify-send -u critical -t 10000 -- 'LOCKING screen in 30 seconds'"
|
|
|
|
exec --no-startup-id ~/.config/i3/startup_apps.sh
|
|
exec --no-startup-id deadd-notification-center
|
|
|
|
|