fix: readd env.d

This commit is contained in:
Fabio Lenherr / DashieTM 2023-10-03 22:13:28 +02:00
parent 736243ecee
commit 5c63e259fc
3 changed files with 7 additions and 22 deletions

View file

@ -16,14 +16,14 @@ bind=SUPER,C,togglesplit
bind=SUPER,G,exec,oxicalc bind=SUPER,G,exec,oxicalc
bind=SUPERSHIFT,G,exec,gamelock bind=SUPERSHIFT,G,exec,gamelock
bind=SUPERSHIFT,L,exec, playerctl -a pause & swaylock -c 000000 & systemctl suspend bind=SUPERSHIFT,L,exec, playerctl -a pause & swaylock -c 000000 & systemctl suspend
bind=,XF86AudioMute,exec,pactl $SCRIPTS/audio_control.sh mute bind=,XF86AudioMute,exec,pactl $HOME/.config/scripts/audio_control.sh mute
bind=,XF86AudioLowerVolume,exec, $SCRIPTS/audio_control.sh sink -5% bind=,XF86AudioLowerVolume,exec, $HOME/.config/scripts/audio_control.sh sink -5%
bind=,XF86AudioRaiseVolume,exec, $SCRIPTS/audio_control.sh sink +5% bind=,XF86AudioRaiseVolume,exec, $HOME/.config/scripts/audio_control.sh sink +5%
bind=,XF86AudioPlay,exec, playerctl play-pause bind=,XF86AudioPlay,exec, playerctl play-pause
bind=,XF86AudioNext,exec, playerctl next bind=,XF86AudioNext,exec, playerctl next
bind=,XF86AudioPrev,exec, playerctl previous bind=,XF86AudioPrev,exec, playerctl previous
bind=,XF86MonBrightnessDown,exec, $SCRIPTS/change-brightness brightness 10%- bind=,XF86MonBrightnessDown,exec, $HOME/.config/scripts/change-brightness brightness 10%-
bind=,XF86MonBrightnessUp,exec, $SCRIPTS/change-brightness brightness +10% bind=,XF86MonBrightnessUp,exec, $HOME/.config/scripts/change-brightness brightness +10%
bind=SUPER,D,exec,oxishut bind=SUPER,D,exec,oxishut
bind=SUPER,A,exec,copyq toggle bind=SUPER,A,exec,copyq toggle
bind=SUPERSHIFT,W,togglespecialworkspace bind=SUPERSHIFT,W,togglespecialworkspace

View file

@ -1,15 +0,0 @@
2023-10-03 19:57:09 - Neovide panicked with the message 'Failed to initialize any backend! Wayland status: NoCompositor X11 status: XOpenDisplayFailed'. (File: /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.0-beta.0/src/platform_impl/linux/mod.rs; Line: 795, Column: 9)
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: __libc_start_main
12: <unknown>

View file

@ -39,13 +39,13 @@ internal() {
set_volume_sink() { set_volume_sink() {
pactl set-sink-volume @DEFAULT_SINK@ "$1" pactl set-sink-volume @DEFAULT_SINK@ "$1"
CURRENT=$(pactl get-sink-volume @DEFAULT_SINK@ | awk -F'/' '{ print $2 }' | tr -d ' %') CURRENT=$(pactl get-sink-volume @DEFAULT_SINK@ | awk -F'/' '{ print $2 }' | tr -d ' %')
notify-send -a "System Volume" -r 993 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Output Volume: ${CURRENT}%" notify-send -a "System Volume" -r 1001 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Output Volume: ${CURRENT}%"
} }
set_volume_source() { set_volume_source() {
pactl set-source-volume @DEFAULT_SOURCE@ "$1" pactl set-source-volume @DEFAULT_SOURCE@ "$1"
CURRENT=$(pactl get-source-volume @DEFAULT_SOURCE@ | awk -F'/' '{ print $2 }' | tr -d ' %') CURRENT=$(pactl get-source-volume @DEFAULT_SOURCE@ | awk -F'/' '{ print $2 }' | tr -d ' %')
notify-send -a "System Volume" -r 993 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Input Volume: ${CURRENT}%" notify-send -a "System Volume" -r 1001 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Input Volume: ${CURRENT}%"
} }
bluetooth() { bluetooth() {