update various things
exec always saync and nm-applet bindswitch to turn on and off internal display change some motions
This commit is contained in:
parent
5a024af2d5
commit
1a5dc13cf9
2
.zshrc
2
.zshrc
|
@ -153,3 +153,5 @@ if [[ -z "$TMUX" ]]; then
|
|||
#else
|
||||
# tmux switch-client -t default
|
||||
fi
|
||||
|
||||
eval "$(direnv hook zsh)"
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
# Example configuration:
|
||||
#
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c 000000' \
|
||||
before-sleep 'swaylock -f -c 000000'
|
||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
before-sleep 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg'
|
||||
# timeout 300 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg' \
|
||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
||||
#
|
||||
# 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
|
||||
|
|
|
@ -30,5 +30,7 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
|
|||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl --min-val=2 -q set 2%-
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl -q set 2%+
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl --min-val=2 -q set 5%-
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl -q set 5%+
|
||||
|
||||
bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
bindsym $mod+Right focus right
|
||||
|
||||
# Move the focused window with the same, but add Shift
|
||||
bindsym $mod+Shift+$left move left
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
# bindsym $mod+Shift+$left move left
|
||||
# bindsym $mod+Shift+$down move down
|
||||
# bindsym $mod+Shift+$up move up
|
||||
# bindsym $mod+Shift+$right move right
|
||||
# Ditto, with arrow keys
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
|
|
|
@ -11,3 +11,6 @@ output * bg $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg fill
|
|||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
font pango:Hack Nerd Font mono:style=Regular 12
|
||||
|
||||
bindswitch --locked --reload lid:on output eDP-1 disable
|
||||
bindswitch --locked --reload lid:off output eDP-1 enable
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
exec alacritty
|
||||
exec google-chrome-stable
|
||||
exec swaync
|
||||
exec_always nm-applet
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
//"custom/keyboard-layout",
|
||||
"battery",
|
||||
"pulseaudio",
|
||||
"custom/notification",
|
||||
"clock#date",
|
||||
"clock#time"
|
||||
],
|
||||
|
@ -37,7 +38,26 @@
|
|||
// -------------------------------------------------------------------------
|
||||
// Modules
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": " ",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": " ",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": " ",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": " "
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
"battery": {
|
||||
"interval": 10,
|
||||
"states": {
|
||||
|
|
|
@ -2,7 +2,7 @@ show=drun
|
|||
width=750
|
||||
height=400
|
||||
always_parse_args=true
|
||||
show_all=false
|
||||
show_all=true
|
||||
print_command=true
|
||||
insensitive=true
|
||||
allow_images=true
|
||||
|
|
Loading…
Reference in New Issue