feat: add mode $mode_wmenu and change default wallpaper
This commit is contained in:
parent
ba70e84ccb
commit
2286b947fe
@ -9,7 +9,7 @@ set $right l
|
||||
# Terminal emulator
|
||||
set $term foot
|
||||
# Application launcher
|
||||
set $menu wmenu-run -f "SourceCodePro Medium 12" -i -N 191919 -S 00868b -s f5f5f5 -M 00868b -m f5f5f5 | xargs swaymsg exec --
|
||||
set $menu wmenu-run -p "Run" -f "DejaVu Sans Bold 12" -i -N 191919 -S 00868b -s f5f5f5 -M 00868b -m f5f5f5 | xargs swaymsg exec --
|
||||
# run fcitx5
|
||||
exec_always fcitx5 -d
|
||||
# send signal to i3-blocks so the volume will update soon
|
||||
@ -24,7 +24,7 @@ input "type:keyboard" {
|
||||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
output * bg ~/Pictures/Linux-GNU-Unix-unixporn-material-minimal-material-style-2088201-wallhere.com.jpg fill
|
||||
output * bg ~/Pictures/wallpapers/astro.jpg fill
|
||||
#
|
||||
### Idle configuration
|
||||
#
|
||||
@ -78,6 +78,28 @@ output * bg ~/Pictures/Linux-GNU-Unix-unixporn-material-minimal-material-style-2
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
# Mode Settings
|
||||
# Use keyboard as mouse
|
||||
bindsym $mod+semicolon mode $mode_arrow; seat seat0 hide_cursor when-typing disable
|
||||
mode $mode_arrow {
|
||||
bindsym Escape mode "default" ; seat seat0 hide_cursor when-typing enable
|
||||
bindsym Space mode "default" ; seat seat0 hide_cursor when-typing enable
|
||||
bindsym $mod+semicolon mode "default"; seat seat0 hide_cursor when-typing enable
|
||||
|
||||
bindsym h exec wtype -k "Left"
|
||||
bindsym j exec wtype -k "Down"
|
||||
bindsym k exec wtype -k "Up"
|
||||
bindsym l exec wtype -k "Right"
|
||||
}
|
||||
bindsym $mod+w mode $mode_wmenu
|
||||
mode $mode_wmenu {
|
||||
bindsym b exec ~/.local/bin/wbookmark; mode "default"
|
||||
# bindsym h exec dunstify $(cat ~/Documents/wmenuhelp.txt)
|
||||
bindsym p exec ~/.local/bin/wpicker; mode "default"
|
||||
bindsym a exec ~/.local/bin/wwallp; mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym Space mode "default"
|
||||
}
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
@ -116,15 +138,12 @@ output * bg ~/Pictures/Linux-GNU-Unix-unixporn-material-minimal-material-style-2
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+Shift+space focus mode_toggle
|
||||
bindsym $mod+s floating toggle
|
||||
bindsym $mod+x focus mode_toggle
|
||||
#
|
||||
# Scratchpad:
|
||||
#
|
||||
@ -162,8 +181,6 @@ bindsym $mod+r mode "resize"
|
||||
# control your volume
|
||||
bindsym $mod+minus exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- && wpctl get-volume @DEFAULT_AUDIO_SINK@ | sed 's/[^0-9]//g; s/^0//' > $wobfifo;exec pkill -SIGRTMIN+1 i3blocks
|
||||
bindsym $mod+equal exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+ && wpctl get-volume @DEFAULT_AUDIO_SINK@ | sed 's/[^0-9]//g; s/^0//' > $wobfifo;exec pkill -SIGRTMIN+1 i3blocks
|
||||
# Start color picker
|
||||
bindsym $mod+Shift+p exec ~/.local/bin/wpicker
|
||||
# Start wf-recorder with slurp to select a specific part of the screen
|
||||
bindsym Ctrl+Print exec wf-recorder -a -f ~/Videos/records/recording_$(date +"%Y-%m-%d-%H:%M.avi");exec notify-send "Recording"
|
||||
bindsym Ctrl+Shift+Print exec killall -s SIGINT wf-recorder;exec notify-send "Stop recording!"
|
||||
@ -175,6 +192,8 @@ bindsym $mod+r mode "resize"
|
||||
bindsym $mod+slash seat - cursor set 2000 0
|
||||
# fcitx5-remote -t
|
||||
bindsym $mod+space exec 'fcitx5-remote -t'
|
||||
# With Task
|
||||
for_window [title="Floating Term"] floating enable, resize set width 800 px, resize set height 600 px, border pixel 2
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user