stuff
This commit is contained in:
@@ -8,4 +8,6 @@ export BROWSER=/usr/bin/firefox
|
|||||||
export VISUAL=vim
|
export VISUAL=vim
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
|
export DESKTOP_SESSION=sway
|
||||||
|
export XDG_CURRENT_DESKTOP=KDE
|
||||||
#[[ -f ~/.bashrc ]] && . ~/.bashrc
|
#[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
[Default Applications]
|
[Default Applications]
|
||||||
x-scheme-handler/http=firefox.desktop
|
x-scheme-handler/http=firefox.desktop
|
||||||
x-scheme-handler/https=firefox.desktop
|
x-scheme-handler/https=firefox.desktop
|
||||||
|
x-scheme-handler/http=firefox-esr.desktop
|
||||||
|
x-scheme-handler/https=firefox-esr.desktop
|
||||||
|
inode/directory=org.kde.dolphin.desktop
|
||||||
|
|||||||
@@ -56,6 +56,11 @@ bindsym XF86AudioNext exec playerctl next
|
|||||||
bindsym XF86AudioPrev exec playerctl previous
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
|
||||||
|
# Strawberry music player song control
|
||||||
|
bindsym Ctrl+F9 exec strawberry -r # Previous song
|
||||||
|
bindsym Ctrl+F12 exec strawberry -f # Next song
|
||||||
|
bindsym Ctrl+F10 exec strawberry -t # Pause/play song
|
||||||
|
|
||||||
# Backlight
|
# Backlight
|
||||||
bindsym XF86MonBrightnessUp exec light -A 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
bindsym XF86MonBrightnessUp exec light -A 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
||||||
bindsym XF86MonBrightnessDown exec light -U 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
bindsym XF86MonBrightnessDown exec light -U 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
||||||
@@ -177,6 +182,9 @@ exec /usr/bin/blueman-applet
|
|||||||
# Clamshell Mode Script
|
# Clamshell Mode Script
|
||||||
#exec_always ~/.config/sway/clamshell.sh
|
#exec_always ~/.config/sway/clamshell.sh
|
||||||
|
|
||||||
|
# KDE polkit
|
||||||
|
exec /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
|
||||||
|
|
||||||
# Gtk
|
# Gtk
|
||||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
@@ -189,6 +197,8 @@ client.focused "#6400b0" "#7607e6" "#ffffff" "#6400b0"
|
|||||||
set $opacity 0.90
|
set $opacity 0.90
|
||||||
for_window [class="Emacs"] opacity $opacity
|
for_window [class="Emacs"] opacity $opacity
|
||||||
for_window [app_id="dolphin"] opacity $opacity
|
for_window [app_id="dolphin"] opacity $opacity
|
||||||
|
for_window [app_id="strawberry"] opacity $opacity
|
||||||
|
for_window [app_id="Nautilus"] opacity $opacity
|
||||||
|
|
||||||
# Gaps
|
# Gaps
|
||||||
smart_gaps on
|
smart_gaps on
|
||||||
@@ -196,11 +206,11 @@ gaps inner 5
|
|||||||
gaps outer 2
|
gaps outer 2
|
||||||
|
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 3200 'swaymsg "output * dpms off"' \
|
timeout 3200 'swaymsg "output * dpms off"' \
|
||||||
timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock -f'
|
before-sleep 'swaylock -f'
|
||||||
|
# timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user