Compare commits

..

No commits in common. "bc47a8692d8dd86b3e17b9bcff2942c3854a7b4c" and "3ec8a5918c26f463b05c39c5342602391ce195b8" have entirely different histories.

3 changed files with 13 additions and 16 deletions

View file

@ -1,2 +0,0 @@
config.d/idle.conf
scripts/lock.sh

View file

@ -10,7 +10,6 @@
# Please see https://i3wm.org/docs/userguide.html for a complete reference! # Please see https://i3wm.org/docs/userguide.html for a complete reference!
include /etc/sway/config.d/* include /etc/sway/config.d/*
include ~/.config/sway/config.d/*
set $mod Mod4 set $mod Mod4
@ -185,7 +184,7 @@ mode "resize" {
### Custom ### Custom
#bindsym Ctrl+Mod1+l exec --no-startup-id loginctl lock-session #bindsym Ctrl+Mod1+l exec --no-startup-id loginctl lock-session
bindsym Ctrl+Mod1+l exec --no-startup-id ~/.config/sway/scripts/lock.sh bindsym Ctrl+Mod1+l exec --no-startup-id swaylock
#bindsym Ctrl+Mod1+l exec --no-startup-id betterlockscreen -l -t "${USER}@${HOSTNAME}" --off 10 #bindsym Ctrl+Mod1+l exec --no-startup-id betterlockscreen -l -t "${USER}@${HOSTNAME}" --off 10
# Background # Background
@ -199,8 +198,8 @@ bindsym $mod+Ctrl+Right move workspace to output right
bindsym $mod+Ctrl+q --release exec --no-startup-id xkill -display $DISPLAY bindsym $mod+Ctrl+q --release exec --no-startup-id xkill -display $DISPLAY
# Screen brightness controls # Screen brightness controls
bindsym XF86MonBrightnessUp exec light -A 10 # increase screen brightness bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec light -U 10 # decrease screen brightness bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
# Touchpad controls # Touchpad controls
#bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad

View file

@ -6,7 +6,7 @@
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"], "modules-center": ["sway/window"],
//"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], //"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"],
"modules-right": ["pulseaudio", "backlight", "idle_inhibitor", "battery", "clock", "tray"], "modules-right": ["backlight", "pulseaudio", "idle_inhibitor", "battery", "clock", "tray"],
"sway/mode": { "sway/mode": {
"format": " {}" "format": " {}"
}, },
@ -24,10 +24,10 @@
"tooltip": false "tooltip": false
}, },
"battery": { "battery": {
"format": "{icon} {capacity}%", "format": "{capacity}% {icon}",
"format-alt": "{time} {icon}", "format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""], "format-icons": ["", "", "", "", ""],
"format-charging": "{capacity}%", "format-charging": "{capacity}%",
"interval": 30, "interval": 30,
"states": { "states": {
"warning": 25, "warning": 25,
@ -48,16 +48,16 @@
"tooltip": false "tooltip": false
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon} {volume}%", "format": "{volume} {icon}",
"format-alt": "{icon}", "format-alt": "{icon}",
"format-alt-click": "click-right", "format-alt-click": "click-right",
"format-muted": "", "format-muted": "",
"format-icons": { "format-icons": {
"phone": [" ", " ", " ", " "], "phone": [" ", " ", " ", " "],
"default": ["奄", "奔", "墳"] "default": ["", "", "", ""]
}, },
"scroll-step": 10, "scroll-step": 10,
"on-click": "pavucontrol-qt", "on-click": "pavucontrol",
"tooltip": false "tooltip": false
}, },
"custom/spotify": { "custom/spotify": {
@ -79,9 +79,9 @@
"format": "{icon}", "format": "{icon}",
"format-alt": "{percent}% {icon}", "format-alt": "{percent}% {icon}",
"format-alt-click": "click-right", "format-alt-click": "click-right",
"format-icons": ["", ""], "format-icons": ["", ""],
"on-scroll-down": "light -U 1", "on-scroll-down": "light -A 1",
"on-scroll-up": "light -A 1" "on-scroll-up": "light -U 1"
}, },
"custom/weather": { "custom/weather": {
"format": "{}", "format": "{}",