Commit 70394977 authored by Sadman Kazi's avatar Sadman Kazi 🎸

Add gaps settings and make indicator invisible

parent 49394392
......@@ -29,6 +29,49 @@ font pango:Space Mono 10
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# gaps settings
gaps inner 9
gaps outer 2
#smart_borders on
#smart_gaps on
set $mode_gaps Gaps: (o) outer, (i) inner
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
bindsym $mod+Shift+g mode "$mode_gaps"
mode "$mode_gaps" {
bindsym o mode "$mode_gaps_outer"
bindsym i mode "$mode_gaps_inner"
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "$mode_gaps_inner" {
bindsym plus gaps inner current plus 5
bindsym minus gaps inner current minus 5
bindsym 0 gaps inner current set 0
bindsym Shift+plus gaps inner all plus 5
bindsym Shift+minus gaps inner all minus 5
bindsym Shift+0 gaps inner all set 0
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "$mode_gaps_outer" {
bindsym plus gaps outer current plus 5
bindsym minus gaps outer current minus 5
bindsym 0 gaps outer current set 0
bindsym Shift+plus gaps outer all plus 5
bindsym Shift+minus gaps outer all minus 5
bindsym Shift+0 gaps outer all set 0
bindsym Return mode "default"
bindsym Escape mode "default"
}
# Disable window focus following mouse
focus_follows_mouse no
......@@ -46,10 +89,11 @@ set $urgent-bg-color #E53935
# window colors
# border background text indicator
client.focused $bg-color $bg-color $text-color #00ff00
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
client.focused $bg-color $bg-color $text-color $bg-color
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color $inactive-bg-color
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $inactive-bg-color
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $inactive-bg-color
client.urgent $urgent-bg-color $urgent-bg-color $text-color $urgent-bg-color
hide_edge_borders both
# start rofi (a program launcher)
......@@ -152,6 +196,8 @@ assign [class="Nautilus"] $ws5
assign [class="Google Play Music Desktop Player"] $ws9
assign [class="Chromium"] $ws10
# lock the screen
bindsym $mod+x exec "i3lock -i $HOME/Pictures/wallpaper.jpg"
# reload the configuration file
bindsym $mod+Shift+c reload
......@@ -211,6 +257,6 @@ bindsym XF86MonBrightnessUp exec xbacklight -inc 1 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 1 # decrease screen brightness
# Commands on startup
exec_always feh --bg-scale /home/sadman/Pictures/wallpaper.jpg
exec_always feh --bg-scale $HOME/Pictures/wallpaper.jpg
exec_always compton -f
exec nm-applet
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment