Merge branch 'master' of github.com:IvanMalison/dotfiles
This commit is contained in:
commit
89b66e7100
@ -34,6 +34,7 @@ style "taffybar-workspace-border-active" = "taffybar-default" {
|
||||
bg[NORMAL] = @yellow
|
||||
}
|
||||
style "taffybar-workspace-border-visible" = "taffybar-default" {
|
||||
|
||||
bg[NORMAL] = @red
|
||||
}
|
||||
style "taffybar-workspace-border-empty" = "taffybar-default" {
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
pulseaudio-ctl "$@"
|
||||
|
||||
notify-send " " -i notification-audio-volume-high -h int:value:$(pavolume) -h string:synchronous:volume
|
||||
volnoti-show "$(pavolume)"
|
||||
|
9
dotfiles/lib/bin/show_brightness.sh
Executable file
9
dotfiles/lib/bin/show_brightness.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
actual="$(cat /sys/class/backlight/intel_backlight/actual_brightness)"
|
||||
max="$(cat /sys/class/backlight/intel_backlight/max_brightness)"
|
||||
|
||||
temp="$(( $actual * 100 ))"
|
||||
percentage="$(( $temp/$max ))"
|
||||
|
||||
volnoti-show "$percentage"
|
@ -740,6 +740,9 @@ addKeys conf@XConfig {modMask = modm} =
|
||||
, ((mod3Mask, xK_w), spawn "set_volume.sh up")
|
||||
, ((mod3Mask, xK_s), spawn "set_volume.sh down")
|
||||
|
||||
, ((0, xF86XK_MonBrightnessUp), spawn "show_brightness.sh")
|
||||
, ((0, xF86XK_MonBrightnessDown), spawn "show_brightness.sh")
|
||||
|
||||
] ++
|
||||
|
||||
-- Replace moving bindings
|
||||
|
@ -29,7 +29,7 @@ LANGUAGES=(
|
||||
|
||||
APPEARANCE=(
|
||||
"adobe-source-code-pro-fonts" "emojione-color-font" "fontawesome" "ttf-roboto" "compton"
|
||||
"screenfetch" "noto-fonts-cjk" "adapta-gtk-theme" "numix-icon-theme-git"
|
||||
"screenfetch" "noto-fonts-cjk" "adapta-gtk-theme" "numix-icon-theme-git" "volnoti"
|
||||
)
|
||||
|
||||
NVIDIA=(
|
||||
|
Loading…
Reference in New Issue
Block a user