updating some wm stuff

This commit is contained in:
Chris Cochrun 2022-11-16 09:34:42 -06:00
parent 79511c3289
commit d8b69fea60
8 changed files with 45 additions and 25 deletions

View file

@ -495,7 +495,7 @@ Let's create our own custom LightlyShaders package. This is in it's own file for
Let's also add our own package from my WIP presenter
#+NAME: librepresenter
#+begin_src nix
(with import <nixpkgs> {}; libsForQt5.callPackage /home/chris/dev/church-presenter {})
(libsForQt5.callPackage /home/chris/dev/church-presenter {})
#+end_src
Firefox has it's own setup
@ -810,7 +810,7 @@ Notice how I am including all of my software here. It may be a big file, but hav
# Dev tools
<<dev-tools>>
<<lightlyshaders>>
# <<librepresenter>>
<<librepresenter>>
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../bismuth {})
];

View file

@ -704,10 +704,12 @@
;; MPV wasn't centering right
(when (= c.class "mpv") (awful.placement.centered c))
(when (= c.class "mpv") (set c.height (dpi 900)))
(when (= c.class "imv") (awful.placement.centered c))
(when (= c.class "Sxiv") (awful.placement.centered c))
(when (= c.class "Libre Presenter") (awful.placement.centered c))
(when (= c.name "Display Window") (set c.fullscreen true))
(when (= c.name "presentation-window") (set c.fullscreen true))
(awful.client.focus.byidx 1)
;; Rounded windows done right

View file

@ -40,7 +40,7 @@ general {
gestures {
workspace_swipe=true
workspace_swipe_fingers=4
workspace_swipe_fingers=3
}
decoration {
@ -77,11 +77,13 @@ dwindle {
}
master {
# special_scale_factor=0.6
special_scale_factor=0.7
new_is_master=false
new_on_top=false
}
misc:disable_autoreload = true
# example window rules
# for windows named/classed as abc and xyz
#windowrule=move 69 420,abc
@ -95,6 +97,7 @@ windowrule=float,mpv
windowrule=size 90% 76%,mpv
windowrule=center,mpv
windowrule=float,pulsemixer
windowrule=workspace special,mpv
# example binds
bind=SUPER,RETURN,exec,alacritty
@ -103,6 +106,7 @@ bind=SUPERSHIFT,Q,exit,
bind=SUPERSHIFT,D,exec,dolphin
bind=SUPERSHIFT,F,togglefloating,
bindr=SUPER,Super_L,exec,/home/chris/bin/launcher.sh
bindr=ALT,Alt_L,exec,/home/chris/bin/windows.sh
bind=SUPER,E,exec,/home/chris/bin/emacslof
bind=SUPER,B,exec,/home/chris/bin/fflof
bind=SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer
@ -133,24 +137,27 @@ bind=SUPER,8,workspace,8
bind=SUPER,9,workspace,9
bind=SUPER,0,workspace,10
bind=SUPERALT,l,workspace,next
bind=SUPERALT,h,workspace,previous
bind=SUPERALT,l,workspace,m+1
bind=SUPERALT,h,workspace,m-1
bind=ALT,1,movetoworkspace,1
bind=ALT,2,movetoworkspace,2
bind=ALT,3,movetoworkspace,3
bind=ALT,4,movetoworkspace,4
bind=ALT,5,movetoworkspace,5
bind=ALT,6,movetoworkspace,6
bind=ALT,7,movetoworkspace,7
bind=ALT,8,movetoworkspace,8
bind=ALT,9,movetoworkspace,9
bind=ALT,0,movetoworkspace,10
bind=SUPERSHIFT,1,movetoworkspace,1
bind=SUPERSHIFT,2,movetoworkspace,2
bind=SUPERSHIFT,3,movetoworkspace,3
bind=SUPERSHIFT,4,movetoworkspace,4
bind=SUPERSHIFT,5,movetoworkspace,5
bind=SUPERSHIFT,6,movetoworkspace,6
bind=SUPERSHIFT,7,movetoworkspace,7
bind=SUPERSHIFT,8,movetoworkspace,8
bind=SUPERSHIFT,9,movetoworkspace,9
bind=SUPERSHIFT,0,movetoworkspace,10
bind=SUPER,O,movetoworkspace,next
bind=SUPER,y,togglespecialworkspace
bind=SUPER,i,pin
bind=SUPER,n,movetoworkspace,special
binde=, XF86AudioRaiseVolume, exec, pamixer -i 5
binde=, XF86AudioLowerVolume, exec, pamixer -d 5
binde=, XF86AudioRaiseVolume, exec, volup
binde=, XF86AudioLowerVolume, exec, voldown
binde=, XF86AudioMute, exec, pamixer -t
binde=, XF86MonBrightnessUp, exec, brightnessctl s +10%

View file

@ -2,6 +2,6 @@
awesome-client "naughty.destroy_all_notifications()"
pamixer --allow-boost -d 5
pw-play /nix/store/grc8na7vz23zlz0q9g76y6f66qrgr2cv-sound-theme-freedesktop-0.8/share/sounds/freedesktop/stereo/audio-volume-change.oga
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}')
notify-send $volume

View file

@ -2,6 +2,6 @@
awesome-client "naughty.destroy_all_notifications()"
pamixer --allow-boost -i 5
pw-play /nix/store/grc8na7vz23zlz0q9g76y6f66qrgr2cv-sound-theme-freedesktop-0.8/share/sounds/freedesktop/stereo/audio-volume-change.oga
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}')
notify-send $volume

11
scripts/window.sh Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
list_windows() (
wlrctl window list
)
window=$(list_windows | rofi -sync -dmenu -p "select window..." -theme ~/.config/rofi/launchers-git/laptop-rbw.rasi | awk '{print $1}' | sed 's/://')
echo $window
wlrctl window focus $window

View file

@ -393,7 +393,7 @@
sqlite
fennel
(libsForQt5.callPackage ../../LightlyShaders {})
# (with import <nixpkgs> {}; libsForQt5.callPackage /home/chris/dev/church-presenter {})
(libsForQt5.callPackage /home/chris/dev/church-presenter {})
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../bismuth {})
];

View file

@ -51,7 +51,7 @@
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}",
"format": "{:%a %b%e, %I:%M %p}"
"format": "{:%a %b %e, %I:%M %p}"
},
"cpu": {
"format": " {usage}%",