polybar
This commit is contained in:
parent
9d6de4c133
commit
20bd6a1a78
|
@ -249,7 +249,7 @@ set $bar-inactive_workspace #755B69
|
|||
#}
|
||||
|
||||
# set background on startup
|
||||
set $wallpaper /home/clint/Pictures/wallpapers/trees2.jpg
|
||||
set $wallpaper /home/clint/Pictures/wallpapers/current_wallpaper.jpg
|
||||
exec --no-startup-id feh --bg-fill $wallpaper
|
||||
|
||||
# turn picom on on start up
|
||||
|
@ -288,5 +288,10 @@ bindsym $mod+g exec gimp
|
|||
bindsym $mod+m workspace $ws4; exec spotifyd; exec alacritty -e spt
|
||||
bindsym $mod+Shift+m exec killall spt; exec killall spotifyd
|
||||
|
||||
# Volume controls
|
||||
bindsym $mod+F9 exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym $mod+F11 exec pactl set-sink-volume 0 +10%
|
||||
bindsym $mod+F10 exec pactl set-sink-volume 0 -10%
|
||||
|
||||
# polybar
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
|
|
|
@ -57,7 +57,7 @@ width = 100%
|
|||
height = 27
|
||||
;offset-x = 1%
|
||||
;offset-y = 1%
|
||||
radius = 7
|
||||
radius = 0
|
||||
fixed-center = false
|
||||
separator =
|
||||
|
||||
|
@ -67,25 +67,25 @@ foreground = ${colors.foreground}
|
|||
line-size = 3
|
||||
line-color = #f00
|
||||
|
||||
border-size = 1
|
||||
border-size = 0
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 3px
|
||||
padding-right = 3px
|
||||
padding-left = 0px
|
||||
padding-right = 0px
|
||||
|
||||
module-margin-left = 1
|
||||
module-margin-right = 2
|
||||
|
||||
;font-0 = fixed:pixelsize=10;1
|
||||
font-0 = FuraMono Nerd Font:pixelsize=12
|
||||
font-0 = FuraMono Nerd Font:pixelsize=10
|
||||
font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular
|
||||
font-2 = NotoSansMono Nerd Font:style=Regular
|
||||
font-3 = FontAwesome6Free
|
||||
font-4 = FontAwesome5Free
|
||||
font-4 = FontAwesome6Free:style=Solid
|
||||
|
||||
modules-left = i3 title
|
||||
modules-center =
|
||||
modules-right = pacman memory cpu filesystem weather wireless-network date
|
||||
modules-right = pacman memory cpu filesystem weather wireless-network volume date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 0
|
||||
|
@ -217,10 +217,18 @@ interval = 3600
|
|||
type = custom/script
|
||||
exec = ~/scripts/i3_pacman.sh
|
||||
interval = 3600
|
||||
click-left = [[ $(checkupdates | wc -l) -gt 0 ]] && alacritty --hold -e checkupdates
|
||||
format-prefix =
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/volume]
|
||||
type = custom/script
|
||||
exec = ~/scripts/i3_volume.sh
|
||||
interval = 3600
|
||||
format-prefix =
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
click-left = pavucontrol
|
||||
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
;compositing-background = xor
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Example for $XDG_CONFIG_HOME/sxiv/exec/key-handler
|
||||
# Called by sxiv(1) after the external prefix key (C-x by default) is pressed.
|
||||
# The next key combo is passed as its first argument. Passed via stdin are the
|
||||
# images to act upon, one path per line: all marked images, if in thumbnail
|
||||
# mode and at least one image has been marked, otherwise the current image.
|
||||
# sxiv(1) blocks until this script terminates. It then checks which images
|
||||
# have been modified and reloads them.
|
||||
|
||||
# The key combo argument has the following form: "[C-][M-][S-]KEY",
|
||||
# where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
|
||||
# keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
|
||||
|
||||
while read file
|
||||
do
|
||||
case "$1" in
|
||||
"C-r")
|
||||
convert -rotate 90 "$file" "$file" ;;
|
||||
"C-c")
|
||||
echo -n "$file" | xclip -selection clipboard ;;
|
||||
"C-w")
|
||||
nitrogen --save --set-zoom-fill "$file" ;;
|
||||
"t") echo "$file"
|
||||
esac
|
||||
done
|
|
@ -18,7 +18,7 @@ alias docs="python ~/scripts/stock_price.py -s docs"
|
|||
alias stock="python ~/scripts/stock_price.py -s "
|
||||
|
||||
# path
|
||||
export PATH=/home/clint/scripts/:$PATH
|
||||
export PATH=/home/clint/projects/:/home/clint/scripts/:$PATH
|
||||
|
||||
# default programs
|
||||
export TERMINAL=alacritty
|
||||
|
|
Loading…
Reference in New Issue