very outdated but a bit less outdated than it was before
This commit is contained in:
parent
ccdca7c67e
commit
7c48d260e3
11 changed files with 159 additions and 14 deletions
|
|
@ -16,26 +16,34 @@ font FantasqueSansMNerdFont Regular 12
|
|||
|
||||
include "$HOME/.cache/wal/colors-sway"
|
||||
|
||||
exec XDG_CURRENT_DESKTOP=sway && systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec /usr/lib/pam_kwallet_init
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
output * bg $wallpaper fill
|
||||
# Primary output
|
||||
output eDP-1 {
|
||||
output eDP-2 {
|
||||
adaptive_sync on
|
||||
mode 1920x1080@144Hz
|
||||
pos 1920 0
|
||||
pos 0 0
|
||||
# pos 1920 0
|
||||
}
|
||||
# Secondary output
|
||||
output HDMI-A-1 {
|
||||
mode 1920x1080@60Hz
|
||||
pos 0 0
|
||||
pos 1920 0
|
||||
# pos 0 0
|
||||
}
|
||||
|
||||
#exec easyeffects
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
#exec swayidle -w \
|
||||
exec swayidle -w \
|
||||
# timeout 600 'swaylock -f -c 000000' \
|
||||
# timeout 1200 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
timeout 1200 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' #\
|
||||
# before-sleep 'swaylock -f -c 000000'
|
||||
|
||||
### Input configuration
|
||||
|
|
@ -206,8 +214,11 @@ bindsym $mod+r mode "resize"
|
|||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||
# Special key to take a screenshot with grim
|
||||
bindsym Print exec grim -g '1920,0 1920x1080' - | wl-copy
|
||||
bindsym $mod+Shift+s exec slurp | grim -g - - | wl-copy
|
||||
bindsym Print exec grim -g '0,0 1920x1080' - | wl-copy && wl-paste > ~/screenshot.png
|
||||
bindsym $mod+Shift+s exec slurp | grim -g - - | wl-copy && wl-paste > ~/screenshot.png
|
||||
|
||||
bindsym $mod+KP_ENTER exec easyeffects -l default
|
||||
bindsym XF86Calculator exec easyeffects -l radio
|
||||
|
||||
client.focused $color7 $color14 $color15
|
||||
client.focused_inactive $color0 $color0 $color10
|
||||
|
|
@ -223,7 +234,9 @@ bar {
|
|||
|
||||
# When the status_command prints a new line to stdout, swaybar updates.
|
||||
# The default just shows the current date and time.
|
||||
status_command while echo "$(mpc current | tr -d '\n') / A $(pactl get-sink-volume @DEFAULT_SINK@ | cut -d ' ' -f 6) / B $(brightnessctl -m | cut -d , -f 4) / $(date +'D %Y-%m-%d / T %T /')"; do sleep 1; done
|
||||
#status_command while echo "$(mpc current | tr -d '\n') / A $(pactl get-sink-volume @DEFAULT_SINK@ | cut -d ' ' -f 6) / B $(brightnessctl -m | cut -d , -f 4) / $(date +'D %Y-%m-%d / T %T /')"; do sleep 1; done
|
||||
status_command i3blocks
|
||||
#status_command 2>/tmp/i3blocks.err i3blocks -vvv | tee /tmp/i3blocks.out
|
||||
|
||||
colors {
|
||||
statusline $foreground
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue