diff options
-rw-r--r-- | i3/config | 60 |
1 files changed, 35 insertions, 25 deletions
@@ -18,7 +18,7 @@ set $mod Mod4 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). -font pango:DejaVu Sans Mono 11 +font pango:IntoneMono NF, 12 # Start XDG autostart .desktop files using dex. See also # https://wiki.archlinux.org/index.php/XDG_Autostart @@ -33,8 +33,14 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. + exec --no-startup-id nm-applet +exec --no-startup-id dunst +exec --no-startup-id setxkbmap "us,ru" -option "grp:caps_toggle,compose:menu,grp_led:scroll" +#exec --no-startup-id xmodmap -e "pointer = 3 2 1" + + # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status @@ -56,7 +62,7 @@ bindsym $mod+Return exec i3-sensible-terminal --hide-menubar bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id rofi -show drun +bindsym $mod+d exec --no-startup-id "rofi -show combi -modes combi -combi-modes 'window,drun,run'" # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a @@ -186,35 +192,39 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) -bar { - status_command i3status - - colors { - statusline #ffffff - background #000000 - focused_workspace #ffffff #ffffff #000000 - active_workspace #ffffff #888888 #000000 - inactive_workspace #000000 #000000 #ffffff - } - -} - bindsym $mod+Shift+s exec scrot ~/Pictures/$(date +'screenshot-%Y-%m-%d-%H-%M-%S').png - bindsym $mod+Shift+x exec grim -s ~/Pictures/$(date +'screenshot-%Y-%m-%d-%H-%M-%S').png + bindsym $mod+Shift+x exec scrot -s ~/Pictures/$(date +'screenshot-%Y-%m-%d-%H-%M-%S').png bindsym $mod+Shift+v exec pavucontrol - bindsym $mod+m exec i3-sensible-terminal --hide-menubar -e neomutt - bindsym $mod+n exec makoctl dismiss -a + bindsym $mod+m exec i3-sensible-terminal --hide-menubar -e mailsync + bindsym $mod+n exec dunstctl close-all bindsym $mod+u exec i3-sensible-terminal --hide-menubar -e cmus bindsym $mod+g exec i3-sensible-terminal --hide-menubar -e amfora -# class border backgr. text indicator child_border -client.focused #000000 #ffffff #000000 #000000 #000000 -client.focused_inactive #000000 #eeeeee #000000 #000000 #000000 -client.unfocused #000000 #222222 #888888 #000000 #000000 -client.urgent #2f343a #900000 #ffffff #900000 #900000 -client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c -client.background #ffffff +# class border bground text indicator child_border +client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4 +client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A +client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36 +client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555 +client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36 + +client.background #F8F8F2 + +bar { + status_command i3status + colors { + background #282A36 + statusline #F8F8F2 + separator #44475A + + focused_workspace #44475A #44475A #F8F8F2 + active_workspace #282A36 #44475A #F8F8F2 + inactive_workspace #282A36 #282A36 #BFBFBF + urgent_workspace #FF5555 #FF5555 #F8F8F2 + binding_mode #FF5555 #FF5555 #F8F8F2 + } +} + |