Compare commits
3 commits
3ec8a5918c
...
bc47a8692d
Author | SHA1 | Date | |
---|---|---|---|
bc47a8692d | |||
9d5e7113c5 | |||
389990069a |
3 changed files with 16 additions and 13 deletions
2
.config/sway/.gitignore
vendored
Normal file
2
.config/sway/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
config.d/idle.conf
|
||||||
|
scripts/lock.sh
|
|
@ -10,6 +10,7 @@
|
||||||
# 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
|
||||||
|
|
||||||
|
@ -184,7 +185,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 swaylock
|
bindsym Ctrl+Mod1+l exec --no-startup-id ~/.config/sway/scripts/lock.sh
|
||||||
#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
|
||||||
|
@ -198,8 +199,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 xbacklight -inc 20 # increase screen brightness
|
bindsym XF86MonBrightnessUp exec light -A 10 # increase screen brightness
|
||||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
|
bindsym XF86MonBrightnessDown exec light -U 10 # 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
|
||||||
|
|
|
@ -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": ["backlight", "pulseaudio", "idle_inhibitor", "battery", "clock", "tray"],
|
"modules-right": ["pulseaudio", "backlight", "idle_inhibitor", "battery", "clock", "tray"],
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": " {}"
|
"format": " {}"
|
||||||
},
|
},
|
||||||
|
@ -24,10 +24,10 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{capacity}% {icon}",
|
"format": "{icon} {capacity}%",
|
||||||
"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": "{volume} {icon}",
|
"format": "{icon} {volume}%",
|
||||||
"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",
|
"on-click": "pavucontrol-qt",
|
||||||
"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 -A 1",
|
"on-scroll-down": "light -U 1",
|
||||||
"on-scroll-up": "light -U 1"
|
"on-scroll-up": "light -A 1"
|
||||||
},
|
},
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
|
|
Loading…
Reference in a new issue