polybar added for arch install

This commit is contained in:
2022-07-01 11:50:33 +05:30
parent 72eaa478be
commit a922f9e4a8
13 changed files with 276 additions and 24 deletions

View File

@@ -4,6 +4,9 @@ default_floating_border pixel 1
hide_edge_borders both
# notification daemon
exec_always dunst
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
@@ -55,13 +58,13 @@ bindsym XF86MonBrightnessDown exec xbacklight -dec 5
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec st # i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run
bindsym $mod+d exec --no-startup-id dmenu_run -sb '#825702'
# 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
@@ -170,10 +173,10 @@ mode "resize" {
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym h resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
bindsym j resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
@@ -191,16 +194,23 @@ 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 -c /home/dhanus/.config/i3status/i3status.conf
position top
font pango:Hack Nerd Font 7
}
#bar {
# status_command i3status -c /home/dhanus/.config/i3status/i3status.conf
# position top
# font pango:Hack Nerd Font 8
# colors{
# background #1d1f21
# }
#}
# Custom bindings:
bindsym $mod+shift+x exec i3lock --color 000000
bindsym $mod+b exec brave -incognito
bindsym $mod+shift+b exec brave
## polybar ##
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
## custom bindings ##
bindsym $mod+shift+x exec i3lock -i /home/dhanus/Pictures/Wallpapers/wallpaper4.png
bindsym $mod+b exec brave-browser-beta -incognito
bindsym $mod+shift+b exec brave-browser-beta
@@ -208,5 +218,8 @@ bindsym $mod+shift+b exec brave
exec xinput set-prop 'Synaptics TM3096-006' 'libinput Tapping Enabled' 1
exec xinput set-prop 'Synaptics TM3096-006' 'libinput Natural Scrolling Enabled' 1
bindsym $mod+Print exec screenshot && notify-send "screenshot saved in ~/Pictures/Screenshots"
bindsym Print exec screenshot s && notify-send "screenshot saved in ~/Pictures/Screenshots"
# wallpaper
exec_always feh --bg-scale ~/Pictures/wallpaper15.jpg
exec_always feh --bg-scale ~/Pictures/Wallpapers/The-isle-of-the-dead.jpg