diff --git a/i3/config b/i3/config index b5aa17c..6300f00 100644 --- a/i3/config +++ b/i3/config @@ -45,14 +45,14 @@ exec --no-startup-id nm-applet # 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 -bindsym XF86AudioLowerVolume 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@ +5% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $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 # Use xrandr to adjust screen brightness -bindsym XF86MonBrightnessUp exec xbacklight -inc 5 -bindsym XF86MonBrightnessDown exec xbacklight -dec 5 +bindsym XF86MonBrightnessUp exec xbacklight -inc 2 +bindsym XF86MonBrightnessDown exec xbacklight -dec 2 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -192,6 +192,10 @@ mode "resize" { bindsym $mod+r mode "resize" +## gsimplecal must be on the top right ## +for_window [instance="gsimplecal"] move absolute position 1140 px 20 px +for_window [class="Cisco AnyConnect Secure Mobility Client"] floating enable + # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) #bar { @@ -211,6 +215,8 @@ exec_always --no-startup-id $HOME/.config/polybar/launch.sh 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 +bindsym $mod+g exec st ranger +bindsym $mod+c exec run @@ -218,8 +224,8 @@ bindsym $mod+shift+b exec brave-browser-beta 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" +bindsym shift+Print exec screenshot && notify-send -u low "screenshot saved in" "~/Pictures/Screenshots/" +bindsym Print exec screenshot s && notify-send -u low "screenshot saved in" "~/Pictures/Screenshots/" # wallpaper -exec_always feh --bg-scale ~/Pictures/Wallpapers/The-isle-of-the-dead.jpg +exec_always feh --bg-scale /home/dhanus/Pictures/Wallpapers/ivan-aivazovsky.jpg diff --git a/polybar/config.ini b/polybar/config.ini index 388de8e..cc75445 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -28,7 +28,7 @@ disabled = #707880 [bar/statusBar] width = 100% height = 15pt -fixed-center = false +fixed-center = true ; dpi = 96 @@ -49,7 +49,7 @@ separator = | separator-foreground = ${colors.disabled} ; font-0 = monospace;1 -font-0 = Hack Nerd Font:size=8 +font-0 = Hack Nerd Font:size=9 modules-left = xworkspaces xwindow ;modules-center = mpd @@ -89,7 +89,7 @@ label-empty-padding = 1 [module/xwindow] type = internal/xwindow -label = %title:0:25..% +label = %title:0:25...% [module/filesystem] type = internal/fs @@ -134,15 +134,15 @@ format-prefix = "RAM " format-prefix-foreground = ${colors.primary} ;label = %used% | %free% ;label = %percentage_used%% -label = %used% +label = %percentage_used%% format-warn-prefix = "RAM " format-warn-prefix-foreground = ${colors.primary} format-warn = ;label-warn = %used% | %free% -label-warn = %used% +label-warn = %percentage_used%% ;label-warn = %percentage_used%% label-warn-foreground = #ea473b -warn-percentage = 80 +warn-percentage = 90 [module/cpu] type = internal/cpu @@ -168,14 +168,16 @@ format-disconnected = inherit = network-base interface-type = wireless ;label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% -label-connected = %{F#F0C674}wifi%{F-} %essid% %local_ip% +;label-connected = %{F#F0C674}wifi%{F-} %essid% %local_ip% +label-connected = %{F#F0C674}wifi%{F-} %essid% label-disconnected = %{F#F0C674}wifi%{F#707880} disconnected [module/eth] inherit = network-base interface-type = wired ;label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% -label-connected = %{F#F0C674}eth%{F-} %local_ip% +;label-connected = %{F#F0C674}eth%{F-} %local_ip% +label-connected = {F#F0C674}eth%{F-} %essid% label-disconnected = %{F#F0C674}eth%{F#707880} disconnected [module/date] @@ -184,8 +186,9 @@ interval = 1 date = %Y-%m-%d (%a) %H:%M:%S -label = %date% +;label = %date% label-foreground = ${colors.primary} +label = %{A1:gsimplecal:}%date%%{A} [module/battery] type = internal/battery