Compare commits

...

5 commits

5 changed files with 18 additions and 9 deletions

View file

@ -33,6 +33,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id xinput set-prop 12 285 1 &
exec --no-startup-id xinput set-prop "DLL06FE:00 04F3:300F Touchpad" "libinput Natural Scrolling Enabled" 1
exec --no-startup-id xinput set-prop "DLL06FE:00 04F3:300F Touchpad" "libinput Tapping Enabled" 1
exec --no-startup-id xinput set-prop "Microsoft Microsoft Ergonomic Mouse" "libinput Accel Speed" -0.25
# exec xrandr --output eDP1 --scale 0.8x0.8
exec --no-startup-id ~/.fehbg &
# bindsym $mod+s exec scrot -e 'xclip -selection clipboard -t image/png -i $f && rm $f'
@ -40,6 +41,9 @@ bindsym $mod+s exec --no-startup-id flameshot gui
bindsym --release $mod+c exec --no-startup-id xcolor | head -c -1 | xclip -selection clip
focus_follows_mouse no
# touchpad gestures
exec --no-startup-id libinput-gestures-setup start
for_window [class="^.*"] border pixel 3
set $Locker i3lock -i ~/Downloads/wallpaper.png && sleep 1
@ -70,8 +74,8 @@ bindsym XF86AudioPause exec --no-startup-id playerctl pause
bindsym XF86AudioNext exec --no-startup-id playerctl next
# Use brightnessctl to adjust backlight brightness
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +10%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 10%-
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
# Use Mouse+$mod to drag floating windows to their wanted position

View file

@ -0,0 +1,2 @@
gesture swipe right 3 i3-msg workspace prev
gesture swipe left 3 i3-msg workspace next

View file

@ -5,9 +5,9 @@ then
echo -e "%{F#66ffffff}\uf293"
elif [ $(echo info | bluetoothctl | grep 'DeviceSet' | wc -c) -eq 0 ]
then
BAT=$(bluetoothctl info | grep Percentage | cut -d":" -f 2 | cut -d"(" -f 2 | sed 's/)/%/' | sed 's/^/ /')
ALIAS=$(bluetoothctl info | grep Alias | cut -d":" -f 2 | xargs echo -n)
echo -e "%{F#81a1c1}\uf293%{F#ffffff}$BAT ($ALIAS)"
BAT=$(bluetoothctl info | grep Percentage | cut -d":" -f 2 | cut -d"(" -f 2 | sed 's/)/%/')
ALIAS=$(bluetoothctl info | grep Alias | cut -d":" -f 2)
echo -e "%{F#81a1c1}\uf293%{F#ffffff}$ALIAS ($BAT)"
else
echo -e "\uf293"
fi

View file

@ -5,6 +5,9 @@ include-file = $HOME/.config/polybar/nord-top
include-file = $HOME/.config/polybar/nord-down
include-file = $HOME/.config/polybar/nord-config
[settings]
screenchange-reload = true
[bar/base]
theme = dark
monitor = ${config.monitor}

View file

@ -9,11 +9,11 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
if [ "$1" == "light" ]
then
polybar -c $HOME/.config/polybar/light-config nord-top &
polybar -c $HOME/.config/polybar/light-config nord-down &
polybar --reload -c $HOME/.config/polybar/light-config nord-top &
polybar --reload -c $HOME/.config/polybar/light-config nord-down &
else
polybar -c $HOME/.config/polybar/dark-config nord-top &
polybar -c $HOME/.config/polybar/dark-config nord-down &
polybar --reload -c $HOME/.config/polybar/dark-config nord-top &
polybar --reload -c $HOME/.config/polybar/dark-config nord-down &
fi
echo "Bars launched..."