(sway/bar) added keybinding & display for keymaps
This commit is contained in:
@@ -50,8 +50,12 @@ for_window [class="steam_app.*"] inhibit_idle open
|
|||||||
exec nm-applet
|
exec nm-applet
|
||||||
|
|
||||||
### configuring input
|
### configuring input
|
||||||
input * accel_profile flat
|
input type:keyboard {
|
||||||
input * pointer_accel 0.53
|
xkb_layout "us,us(intl)"
|
||||||
|
}
|
||||||
|
input type:pointer accel_profile flat
|
||||||
|
input type:pointer pointer_accel 0.53
|
||||||
|
|
||||||
|
|
||||||
### configuring keybindings
|
### configuring keybindings
|
||||||
|
|
||||||
@@ -152,6 +156,9 @@ bindsym $mod+i move workspace to output down
|
|||||||
bindsym $mod+o move workspace to output up
|
bindsym $mod+o move workspace to output up
|
||||||
bindsym $mod+p move workspace to output right
|
bindsym $mod+p move workspace to output right
|
||||||
|
|
||||||
|
# switch keyboard layout
|
||||||
|
bindsym $mod+Shift+n exec swaymsg input type:keyboard xkb_switch_layout next
|
||||||
|
|
||||||
## take screenshots
|
## take screenshots
|
||||||
#bindsym $mod+s exec maim -su | xclip -selection clipboard -t image/png
|
#bindsym $mod+s exec maim -su | xclip -selection clipboard -t image/png
|
||||||
#bindsym $mod+Shift+s exec maim -su "${HOME}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"
|
#bindsym $mod+Shift+s exec maim -su "${HOME}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"spacing": 16,
|
"spacing": 16,
|
||||||
"reload_style_on_change": true,
|
"reload_style_on_change": true,
|
||||||
"modules-left": ["sway/workspaces", "sway/window"],
|
"modules-left": ["sway/workspaces", "sway/window"],
|
||||||
"modules-right": ["cpu", "pulseaudio", "clock#date", "clock#time"],
|
"modules-right": ["sway/language", "cpu", "pulseaudio", "clock#date", "clock#time"],
|
||||||
|
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"format": "{name}",
|
"format": "{name}",
|
||||||
@@ -22,13 +22,17 @@
|
|||||||
"sway/window": {
|
"sway/window": {
|
||||||
"max-length": 50
|
"max-length": 50
|
||||||
},
|
},
|
||||||
|
"sway/language": {
|
||||||
|
"format": " {short} {variant}",
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {load}%",
|
"format": " {usage:3}%",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"interval": 5
|
"interval": 5
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": " {volume}%",
|
"format": " {volume}%",
|
||||||
"format-bluetooth": " {volume}%",
|
"format-bluetooth": " {volume}%",
|
||||||
"format-muted": " ",
|
"format-muted": " ",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
|
|||||||
@@ -50,6 +50,11 @@ window#waybar {
|
|||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
padding: 0 30px;
|
||||||
|
color: @--lighter-grey;
|
||||||
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
color: @--lighter-grey;
|
color: @--lighter-grey;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user