improve i3 config
This commit is contained in:
45
i3/config
45
i3/config
@@ -27,6 +27,7 @@ new_window pixel
|
|||||||
|
|
||||||
# focus follows mouse
|
# focus follows mouse
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
|
|
||||||
# border
|
# border
|
||||||
new_window pixel 3
|
new_window pixel 3
|
||||||
|
|
||||||
@@ -56,7 +57,7 @@ bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
|||||||
bindsym $mod+F4 exec --no-startup-id "gnome-screenshot -w"
|
bindsym $mod+F4 exec --no-startup-id "gnome-screenshot -w"
|
||||||
|
|
||||||
# start dmenu-launcher
|
# start dmenu-launcher
|
||||||
bindsym $mod+d exec rofi -show drun -theme glue_pro_blue -font "mono 10"
|
bindsym $mod+d exec rofi -show drun -theme gruvbox-dark-soft -font "mono 10"
|
||||||
|
|
||||||
# lock i3 with i3lock
|
# lock i3 with i3lock
|
||||||
bindsym $mod+Shift+x exec i3lock -c 000000
|
bindsym $mod+Shift+x exec i3lock -c 000000
|
||||||
@@ -130,26 +131,26 @@ bindsym $mod+x move scratchpad
|
|||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# Workspace & Tags #
|
# Workspace & Tags #
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace 1
|
bindsym $mod+1 workspace 1
|
||||||
bindsym $mod+2 workspace 2
|
bindsym $mod+2 workspace 2
|
||||||
bindsym $mod+3 workspace 3
|
bindsym $mod+3 workspace 3
|
||||||
bindsym $mod+4 workspace 4
|
bindsym $mod+4 workspace 4
|
||||||
bindsym $mod+5 workspace 5
|
bindsym $mod+5 workspace 5
|
||||||
bindsym $mod+6 workspace 6
|
bindsym $mod+6 workspace 6
|
||||||
bindsym $mod+7 workspace 7
|
bindsym $mod+7 workspace 7
|
||||||
bindsym $mod+8 workspace 8
|
bindsym $mod+8 workspace 8
|
||||||
bindsym $mod+9 workspace 9
|
bindsym $mod+9 workspace 9
|
||||||
bindsym $mod+0 workspace 10
|
bindsym $mod+0 workspace 10
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace 1
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
@@ -169,14 +170,14 @@ bindsym $mod+Shift+0 move container to workspace 10
|
|||||||
|
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
# bindings to resize
|
# bindings to resize
|
||||||
bindsym h resize shrink width 10 px or 10 ppt
|
bindsym h resize shrink width 10 px or 10 ppt
|
||||||
bindsym j resize grow height 10 px or 10 ppt
|
bindsym j resize grow height 10 px or 10 ppt
|
||||||
bindsym k resize shrink height 10 px or 10 ppt
|
bindsym k resize shrink height 10 px or 10 ppt
|
||||||
bindsym l resize grow width 10 px or 10 ppt
|
bindsym l resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
# back to normal
|
# back to normal
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
@@ -219,7 +220,7 @@ bar {
|
|||||||
background #222439 # -> BG of Wallpaper for fake transparency
|
background #222439 # -> BG of Wallpaper for fake transparency
|
||||||
statusline $yellow
|
statusline $yellow
|
||||||
# class border backgr. text
|
# class border backgr. text
|
||||||
focused_workspace $darkgray $fg $darkgray
|
focused_workspace $darkgray $gray $darkgray
|
||||||
inactive_workspace $darkgray $darkgray $fg
|
inactive_workspace $darkgray $darkgray $fg
|
||||||
active_workspace $darkgray $darkgray $fg
|
active_workspace $darkgray $darkgray $fg
|
||||||
urgent_workspace $red $red $fg
|
urgent_workspace $red $red $fg
|
||||||
|
|||||||
Reference in New Issue
Block a user