2024-02-24 12:13:53 +00:00
|
|
|
set $mod Mod4
|
|
|
|
|
|
|
|
font pango:Hasklig 10
|
|
|
|
|
|
|
|
# Run Nitrogen to restore the desktop wallpapers.
|
|
|
|
exec --no-startup-id nitrogen --restore
|
|
|
|
# Start the NetworkManager tray applet.
|
|
|
|
exec --no-startup-id nm-applet
|
|
|
|
|
|
|
|
# Use Mouse+$mod to drag floating windows.
|
|
|
|
floating_modifier $mod
|
|
|
|
|
|
|
|
# Disable moving the mouse to the container when switching workspaces.
|
|
|
|
mouse_warping none
|
|
|
|
|
|
|
|
# Define names for default workspaces.
|
|
|
|
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"
|
|
|
|
|
|
|
|
# Assign workspaces to monitors.
|
|
|
|
workspace $ws1 output HDMI-0
|
|
|
|
workspace $ws2 output HDMI-0
|
|
|
|
workspace $ws3 output HDMI-0
|
|
|
|
workspace $ws4 output HDMI-0
|
|
|
|
workspace $ws5 output HDMI-0
|
|
|
|
workspace $ws6 output HDMI-1
|
|
|
|
workspace $ws7 output HDMI-1
|
|
|
|
workspace $ws8 output HDMI-1
|
|
|
|
workspace $ws9 output HDMI-1
|
|
|
|
workspace $ws10 output HDMI-1
|
|
|
|
|
|
|
|
# Assign gaps to specific workspaces.
|
|
|
|
workspace $ws2 gaps inner 10
|
|
|
|
workspace $ws3 gaps inner 10
|
2024-02-24 21:23:40 +00:00
|
|
|
workspace $ws4 gaps inner 10
|
2024-02-24 12:13:53 +00:00
|
|
|
|
|
|
|
# Configuration for i3bar.
|
|
|
|
bar {
|
2024-02-28 11:59:22 +00:00
|
|
|
colors {
|
|
|
|
background #00000000
|
|
|
|
statusline #F2EFFF
|
|
|
|
separator #D2B83A
|
|
|
|
focused_workspace #E6DEFF #E6DEFF #1F1731
|
|
|
|
active_workspace #D2B83A #D2B83A #1F1731
|
|
|
|
inactive_workspace #2A2041 #1F1731 #E6DEFF
|
|
|
|
urgent_workspace #F99ADD #F99ADD #1F1731
|
|
|
|
}
|
|
|
|
i3bar_command i3bar --transparency
|
|
|
|
output primary
|
|
|
|
position bottom
|
2024-02-28 14:32:47 +00:00
|
|
|
separator_symbol "•"
|
2024-02-28 11:59:22 +00:00
|
|
|
status_command i3status-rs
|
|
|
|
tray_output primary
|
2024-02-24 12:13:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Assign clients to specific workspaces.
|
|
|
|
## To figure out the class name for a client, use xprop and click on the window.
|
|
|
|
## Example for Standard Notes: xprop | rg '^WM_CLASS'
|
|
|
|
## > WM_CLASS(STRING) = "standard notes", "Standard Notes"
|
|
|
|
## The first string is the instance and the second is the class.
|
|
|
|
assign [class="tauonmb"] $ws2
|
|
|
|
assign [class="Standard Notes"] $ws2
|
|
|
|
assign [class="Transmission-gtk"] $ws3
|
|
|
|
assign [class="KeePassXC"] $ws3
|
|
|
|
|
|
|
|
include keybinds.conf
|
2024-02-28 11:59:22 +00:00
|
|
|
include theme.conf
|