config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

config (4022B)


      1 set $mod Mod4
      2 font pango:DejaVu Sans Mono 8
      3 floating_modifier $mod
      4 default_border pixel 4
      5 default_floating_border pixel
      6 hide_edge_borders smart
      7 focus_follows_mouse no
      8 
      9 set $workspace0 "0"
     10 set $workspace1 "1"
     11 set $workspace2 "2"
     12 set $workspace3 "3"
     13 set $workspace4 "4"
     14 set $workspace5 "5"
     15 set $workspace6 "6"
     16 set $workspace7 "7"
     17 set $workspace8 "8"
     18 set $workspace9 "9"
     19 
     20 bindsym $mod+0 workspace $workspace0
     21 bindsym $mod+1 workspace $workspace1
     22 bindsym $mod+2 workspace $workspace2
     23 bindsym $mod+3 workspace $workspace3
     24 bindsym $mod+4 workspace $workspace4
     25 bindsym $mod+5 workspace $workspace5
     26 bindsym $mod+6 workspace $workspace6
     27 bindsym $mod+7 workspace $workspace7
     28 bindsym $mod+8 workspace $workspace8
     29 bindsym $mod+9 workspace $workspace9
     30 bindsym $mod+Return exec "${VISUAL}"
     31 bindsym $mod+Shift+0 move container to workspace $workspace0
     32 bindsym $mod+Shift+1 move container to workspace $workspace1
     33 bindsym $mod+Shift+2 move container to workspace $workspace2
     34 bindsym $mod+Shift+3 move container to workspace $workspace3
     35 bindsym $mod+Shift+4 move container to workspace $workspace4
     36 bindsym $mod+Shift+5 move container to workspace $workspace5
     37 bindsym $mod+Shift+6 move container to workspace $workspace6
     38 bindsym $mod+Shift+7 move container to workspace $workspace7
     39 bindsym $mod+Shift+8 move container to workspace $workspace8
     40 bindsym $mod+Shift+9 move container to workspace $workspace9
     41 bindsym $mod+Shift+Return exec "i3-sensible-terminal"
     42 bindsym $mod+Shift+apostrophe kill
     43 bindsym $mod+Shift+j reload
     44 bindsym $mod+Shift+minus exec "i3lock -c ffffff -f"
     45 bindsym $mod+Shift+n move down
     46 bindsym $mod+Shift+p restart
     47 bindsym $mod+Shift+r move up
     48 bindsym $mod+Shift+s move right
     49 bindsym $mod+Shift+space floating toggle
     50 bindsym $mod+Shift+t move left
     51 bindsym $mod+Shift+x exec "i3-nagbar -t warning -m 'Exit?' -b 'Yes.' 'i3-msg exit'"
     52 bindsym $mod+a focus parent
     53 bindsym $mod+b exec "firefox"
     54 bindsym $mod+bracketleft workspace prev
     55 bindsym $mod+bracketright workspace next
     56 bindsym $mod+c split v
     57 bindsym $mod+comma layout tabbed
     58 bindsym $mod+e exec "rofi -show combi -show-icons"
     59 bindsym $mod+l split h
     60 bindsym $mod+minus exec "dunstctl close-all"
     61 bindsym $mod+n focus down
     62 bindsym $mod+o focus child
     63 bindsym $mod+period layout toggle split
     64 bindsym $mod+r focus up
     65 bindsym $mod+s focus right
     66 bindsym $mod+space focus mode_toggle
     67 bindsym $mod+t focus left
     68 bindsym $mod+u fullscreen toggle
     69 bindsym $mod+v scratchpad show; [floating] resize set 66 ppt 66 ppt; move position center; sticky enable
     70 bindsym $mod+z move scratchpad
     71 bindsym XF86AudioLowerVolume exec --no-startup-id "volume -5"
     72 bindsym XF86AudioMicMute exec --no-startup-id "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
     73 bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle"
     74 bindsym XF86AudioPlay exec "playerctl play"
     75 bindsym XF86AudioRaiseVolume exec --no-startup-id "volume +5"
     76 bindsym XF86Display exec "monitor-hotplug"
     77 bindsym XF86MonBrightnessDown exec "brightnessctl s 5%-"
     78 bindsym XF86MonBrightnessUp exec "brightnessctl s +5%"
     79 
     80 # class                 border  bg      text    selector
     81 client.focused          #4271ae #4271ae #ffffff #e0e0e0
     82 client.focused_inactive #c5c8c6 #c5c8c6 #b4b7b4 #e0e0e0
     83 client.unfocused        #e0e0e0 #e0e0e0 #b4b7b4 #e0e0e0
     84 client.urgent           #c5c8c6 #c82829 #1d1f21 #c82829
     85 
     86 bar {
     87 	mode hide
     88 	hidden_state hide
     89 	modifier Mod4
     90 	workspace_buttons yes
     91 	status_command statusbar
     92 	position bottom
     93 
     94 	# ISO10646 is unicode.
     95 	font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
     96 	font pango:DejaVu Sans Mono 10
     97 
     98 	colors {
     99 	       active_workspace #c5c8c6 #c5c8c6 #1d1f21
    100 	       background #e0e0e0
    101 	       focused_workspace #3e999f #4271ae #ffffff
    102 	       inactive_workspace #e0e0e0 #e0e0e0 #b4b7b4
    103 	       separator #b4b7b4
    104 	       statusline #373b41
    105 	       urgent_workspace #c82829 #c82829 #1d1f21
    106 	       }
    107 }
    108 
    109 exec --no-startup-id fcitx5 -d
    110 exec --no-startup-id nm-applet
    111 exec --no-startup-id touchegg
    112 exec --no-startup-id map-bg
    113 exec --no-startup-id systemctl --user restart emacs