forked from logan/dotfiles
Adjusted some Sway stuff
This commit is contained in:
parent
b6ee44bc5d
commit
7ee862d191
3 changed files with 23 additions and 13 deletions
|
@ -9,6 +9,8 @@
|
||||||
#
|
#
|
||||||
# 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/*
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
|
@ -33,8 +35,8 @@ exec --no-startup-id nm-applet
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
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 XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
|
@ -51,7 +53,7 @@ bindsym $mod+Shift+q kill
|
||||||
#bindsym $mod+d exec dmenu_run
|
#bindsym $mod+d exec dmenu_run
|
||||||
#bindsym $mod+d exec jgmenu_run
|
#bindsym $mod+d exec jgmenu_run
|
||||||
#bindsym $mod+d exec source ~/.bashrc && j4-dmenu-desktop --dmenu="dmenu -i -nb '#2c2e33' -nf '#cccccc' -sf '#ffffff' -sb '#4285f4'" --term="i3-sensible-terminal"
|
#bindsym $mod+d exec source ~/.bashrc && j4-dmenu-desktop --dmenu="dmenu -i -nb '#2c2e33' -nf '#cccccc' -sf '#ffffff' -sb '#4285f4'" --term="i3-sensible-terminal"
|
||||||
bindsym $mod+d exec source ~/.bashrc && wofi --show drun --allow-images -G
|
bindsym $mod+d exec source ~/.bashrc && wofi --show drun --allow-images -G -i
|
||||||
|
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
|
@ -209,9 +211,11 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||||
|
|
||||||
#Screenshot
|
#Screenshot
|
||||||
bindsym Print exec --no-startup-id flameshot gui -p ~/Pictures/Screenshots
|
#bindsym Print exec --no-startup-id flameshot gui -p ~/Pictures/Screenshots
|
||||||
bindsym Shift+Print exec --no-startup-id flameshot full -p ~/Pictures/Screenshots
|
#bindsym Shift+Print exec --no-startup-id flameshot full -p ~/Pictures/Screenshots
|
||||||
bindsym Ctrl+Shift+Print exec --no-startup-id flameshot full -c
|
#bindsym Ctrl+Shift+Print exec --no-startup-id flameshot full -c
|
||||||
|
|
||||||
|
bindsym Print exec --no-startup-id grim -g "$(slurp)" - | swappy -f -
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
|
@ -231,7 +235,7 @@ exec --no-startup-id kanshi &
|
||||||
exec --no-startup-id lxqt-policykit-agent 2>&1 &
|
exec --no-startup-id lxqt-policykit-agent 2>&1 &
|
||||||
exec --no-startup-id syncthing -no-browser -home="$HOME/.config/syncthing" 2>&1 &
|
exec --no-startup-id syncthing -no-browser -home="$HOME/.config/syncthing" 2>&1 &
|
||||||
exec --no-startup-id kdeconnect-indicator 2>&1 &
|
exec --no-startup-id kdeconnect-indicator 2>&1 &
|
||||||
exec --no-startup-id xfce4-power-manager 2>&1 &
|
#exec --no-startup-id xfce4-power-manager 2>&1 &
|
||||||
exec --no-startup-id xss-lock -- betterlockscreen -l -t "${USER}@${HOSTNAME}" --off 10 2>&1 &
|
exec --no-startup-id xss-lock -- betterlockscreen -l -t "${USER}@${HOSTNAME}" --off 10 2>&1 &
|
||||||
exec --no-startup-id ~/.config/i3/customonce.sh 2>&1
|
exec --no-startup-id ~/.config/i3/customonce.sh 2>&1
|
||||||
|
|
||||||
|
@ -246,6 +250,9 @@ gaps inner 5
|
||||||
gaps top 0
|
gaps top 0
|
||||||
gaps bottom 0
|
gaps bottom 0
|
||||||
|
|
||||||
|
#before-sleep 'playerctl pause -a'
|
||||||
|
#before-sleep 'swaylock'
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
|
|
||||||
# class border bground text indicator child_border
|
# class border bground text indicator child_border
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%a %d %b %H:%M}",
|
"format": "{:%a %d %b %H:%M:%S}",
|
||||||
|
"interval": 1,
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
|
@ -47,8 +48,8 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon}",
|
"format": "{volume} {icon}",
|
||||||
"format-alt": "{volume} {icon}",
|
"format-alt": "{icon}",
|
||||||
"format-alt-click": "click-right",
|
"format-alt-click": "click-right",
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
|
@ -94,8 +95,10 @@
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
//"activated": "鬒",
|
||||||
"deactivated": ""
|
"activated": "",
|
||||||
|
//"deactivated": ""
|
||||||
|
"deactivated": ""
|
||||||
},
|
},
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
window {
|
window {
|
||||||
color: rgba(217, 216, 216, 1);
|
color: rgba(217, 216, 216, 1);
|
||||||
background: rgba(35, 31, 32, 0.00);
|
background: rgba(35, 31, 32, 0.85);
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.solo {
|
window#waybar.solo {
|
||||||
|
|
Loading…
Reference in a new issue