commit 8dcc923a58f10d139f12195ae04d48d1059ce2dd parent f514d0848ea70c0da311095764e46ccdb41b1338 Author: dwrz <dwrz@dwrz.net> Date: Tue, 6 Dec 2022 13:53:54 +0000 Add i3 config Diffstat:
A | i3/config | | | 110 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 110 insertions(+), 0 deletions(-)
diff --git a/i3/config b/i3/config @@ -0,0 +1,110 @@ +set $mod Mod4 +font pango:DejaVu Sans Mono 8 +floating_modifier $mod +default_border pixel 4 +default_floating_border normal +hide_edge_borders smart +focus_follows_mouse no + +set $workspace0 "0" +set $workspace1 "1" +set $workspace2 "2" +set $workspace3 "3" +set $workspace4 "4" +set $workspace5 "5" +set $workspace6 "6" +set $workspace7 "7" +set $workspace8 "8" +set $workspace9 "9" + +bindsym $mod+0 workspace $workspace0 +bindsym $mod+1 workspace $workspace1 +bindsym $mod+2 workspace $workspace2 +bindsym $mod+3 workspace $workspace3 +bindsym $mod+4 workspace $workspace4 +bindsym $mod+5 workspace $workspace5 +bindsym $mod+6 workspace $workspace6 +bindsym $mod+7 workspace $workspace7 +bindsym $mod+8 workspace $workspace8 +bindsym $mod+9 workspace $workspace9 +bindsym $mod+Return exec "${VISUAL}" +bindsym $mod+Shift+0 move container to workspace $workspace0 +bindsym $mod+Shift+1 move container to workspace $workspace1 +bindsym $mod+Shift+2 move container to workspace $workspace2 +bindsym $mod+Shift+3 move container to workspace $workspace3 +bindsym $mod+Shift+4 move container to workspace $workspace4 +bindsym $mod+Shift+5 move container to workspace $workspace5 +bindsym $mod+Shift+6 move container to workspace $workspace6 +bindsym $mod+Shift+7 move container to workspace $workspace7 +bindsym $mod+Shift+8 move container to workspace $workspace8 +bindsym $mod+Shift+9 move container to workspace $workspace9 +bindsym $mod+Shift+Return exec "i3-sensible-terminal" +bindsym $mod+Shift+apostrophe kill +bindsym $mod+Shift+j reload +bindsym $mod+Shift+n move down +bindsym $mod+Shift+p restart +bindsym $mod+Shift+r move up +bindsym $mod+Shift+s move right +bindsym $mod+Shift+space floating toggle +bindsym $mod+Shift+t move left +bindsym $mod+Shift+x exec "i3-nagbar -t warning -m 'Exit?' -b 'Yes.' 'i3-msg exit'" +bindsym $mod+a focus parent +bindsym $mod+c split v +bindsym $mod+comma layout tabbed +bindsym $mod+e exec "rofi -show combi -show-icons" +bindsym $mod+minus exec "dunstctl close-all" +bindsym $mod+l split h +bindsym $mod+Shift+minus exec "i3lock -c ffffff -f" +bindsym $mod+n focus down +bindsym $mod+o focus child +bindsym $mod+period layout toggle split +bindsym $mod+r focus up +bindsym $mod+s focus right +bindsym $mod+space focus mode_toggle +bindsym $mod+t focus left +bindsym $mod+u fullscreen toggle +bindsym $mod+v scratchpad show; [floating] resize set 1200 800; move position center; sticky enable +bindsym $mod+z move scratchpad +bindsym XF86AudioLowerVolume exec --no-startup-id "volume -5" +bindsym XF86AudioMicMute exec --no-startup-id "pactl set-source-mute @DEFAULT_SOURCE@ toggle" +bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle" +bindsym XF86AudioPlay exec "playerctl play" +bindsym XF86AudioRaiseVolume exec --no-startup-id "volume +5" +bindsym XF86Display exec "monitor_hotplug" +bindsym XF86MonBrightnessDown exec "brightnessctl s 5%-" +bindsym XF86MonBrightnessUp exec "brightnessctl s +5%" + +# class border bg text selector +client.focused #4271ae #4271ae #ffffff #e0e0e0 +client.focused_inactive #c5c8c6 #c5c8c6 #b4b7b4 #e0e0e0 +client.unfocused #e0e0e0 #e0e0e0 #b4b7b4 #e0e0e0 +client.urgent #c5c8c6 #c82829 #1d1f21 #c82829 + +bar { + mode hide + hidden_state hide + modifier Mod4 + workspace_buttons yes + status_command statusbar + position bottom + + # ISO10646 is unicode. + font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 + font pango:DejaVu Sans Mono 10 + + colors { + active_workspace #c5c8c6 #c5c8c6 #1d1f21 + background #e0e0e0 + focused_workspace #3e999f #4271ae #ffffff + inactive_workspace #e0e0e0 #e0e0e0 #b4b7b4 + separator #b4b7b4 + statusline #373b41 + urgent_workspace #c82829 #c82829 #1d1f21 + } +} + + +exec --no-startup-id dunst -config ~/.config/dunst/dunstrc +exec --no-startup-id fcitx5 -d +exec --no-startup-id feh --bg-fill --randomize /home/dwrz/archive/images/maps/* +exec --no-startup-id parcellite