MOAR config
This commit is contained in:
parent
1b65bc2270
commit
d8c2da70a9
7 changed files with 61 additions and 41 deletions
|
|
@ -76,33 +76,12 @@ include /etc/sway/config-vars.d/*
|
|||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
set $bg /usr/share/backgrounds/archlinux/wild.png
|
||||
output * bg $bg fill
|
||||
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# exec swayidle -w \
|
||||
# timeout 300 'swaylock -f -c 000000' \
|
||||
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
# before-sleep 'swaylock -f -c 000000'
|
||||
#
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||
|
||||
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 300 "swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg" \
|
||||
timeout 600 'systemctl suspend' \
|
||||
before-sleep "swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg"
|
||||
exec swayidle -w
|
||||
|
||||
|
||||
### Input configuration
|
||||
|
|
@ -175,7 +154,7 @@ input 1241:36:HOLDCHIP_USB_Keyboard {
|
|||
bindsym $mod+Shift+c reload
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
bindsym $mod+Shift+e exec ~/.config/sway/power-menu
|
||||
#
|
||||
# Moving around:
|
||||
#
|
||||
|
|
@ -318,7 +297,7 @@ mode "resize" {
|
|||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
bindsym $mod+Alt+l exec 'swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg'
|
||||
bindsym $mod+Alt+l exec swaylock
|
||||
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
|
@ -340,13 +319,11 @@ exec mako&
|
|||
{{- if eq .chezmoi.hostname "baryte" }}
|
||||
|
||||
output "Acer Technologies VG270U P 0x05217924" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 0 0
|
||||
scale 1
|
||||
}
|
||||
|
||||
output "Acer Technologies VG270U P 0x9392CFAC" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 2560 0
|
||||
scale 1
|
||||
}
|
||||
|
|
@ -362,13 +339,11 @@ exec kanshi&
|
|||
{{- if eq .chezmoi.hostname "dubnium" }}
|
||||
|
||||
output "Acer Technologies VG270U P 0x05217924" {
|
||||
background ~/Pictures/background.jpg fill
|
||||
position 0 0
|
||||
scale 1
|
||||
}
|
||||
|
||||
output "Acer Technologies VG270U P 0x9392CFAC" {
|
||||
background ~/Pictures/background.jpg fill
|
||||
position 2560 0
|
||||
scale 1
|
||||
}
|
||||
|
|
|
|||
23
home/dot_config/sway/executable_power-menu
Normal file
23
home/dot_config/sway/executable_power-menu
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
entries="⇠ Logout\n⏾ Suspend\n⭮ Reboot\n⏻ Shutdown\n Lock"
|
||||
|
||||
selected=$(echo -e $entries | wofi --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
|
||||
|
||||
case $selected in
|
||||
lock)
|
||||
swaylock
|
||||
;;
|
||||
logout)
|
||||
swaymsg exit
|
||||
;;
|
||||
suspend)
|
||||
exec systemctl suspend
|
||||
;;
|
||||
reboot)
|
||||
exec systemctl reboot
|
||||
;;
|
||||
shutdown)
|
||||
exec systemctl poweroff -i
|
||||
;;
|
||||
esac
|
||||
15
home/dot_config/sway/pkglist.txt
Normal file
15
home/dot_config/sway/pkglist.txt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
archlinux-wallpaper
|
||||
scenefx
|
||||
swayfx
|
||||
swayidle
|
||||
swaylock
|
||||
swaybg
|
||||
mako
|
||||
waybar
|
||||
wofi
|
||||
kanshi
|
||||
foot
|
||||
firefox
|
||||
pavucontrol
|
||||
blueman
|
||||
btop
|
||||
3
home/dot_config/swayidle/config
Normal file
3
home/dot_config/swayidle/config
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
timeout 300 swaylock
|
||||
timeout 900 'systemctl suspend'
|
||||
before-sleep swaylock
|
||||
3
home/dot_config/swaylock/config
Normal file
3
home/dot_config/swaylock/config
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ignore-empty-password
|
||||
daemonize
|
||||
image=/usr/share/backgrounds/archlinux/geolanes.png
|
||||
|
|
@ -234,15 +234,8 @@
|
|||
"on-click": "playerctl previous"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "⏻ ",
|
||||
"format": "⏻",
|
||||
"tooltip": false,
|
||||
"menu": "on-click",
|
||||
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
|
||||
"menu-actions": {
|
||||
"shutdown": "shutdown",
|
||||
"reboot": "reboot",
|
||||
"suspend": "systemctl suspend",
|
||||
"hibernate": "systemctl hibernate"
|
||||
}
|
||||
"on-click": "$HOME/.config/sway/power-menu"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ button:hover {
|
|||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#power-profiles-daemon,
|
||||
#custom-power,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
color: #ffffff;
|
||||
|
|
@ -126,7 +127,10 @@ button:hover {
|
|||
|
||||
.modules-right, .modules-left {
|
||||
border-radius: 15px;
|
||||
padding: 7px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
padding-top: 7px;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
|
|
@ -242,6 +246,10 @@ label:focus {
|
|||
background-color: #ffa000;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
background-color: #2d3436;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background-color: #f0932b;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue