customize sway

This commit is contained in:
eneller
2024-04-06 00:02:07 +02:00
parent eb1c5081d9
commit e32b9f91f2
4 changed files with 6 additions and 19 deletions

View File

@@ -170,4 +170,5 @@ configuration {
sorting-method: "name"; sorting-method: "name";
} }
} }
@theme "theme" // read theme in ./theme.rasi //@theme "theme" // read theme in ./theme.rasi
@theme "/usr/share/rofi/themes/Monokai.rasi"

View File

@@ -2,6 +2,7 @@
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.
set $mod Mod4 set $mod Mod4
bindsym $mod+F12 reload bindsym $mod+F12 reload
bindsym $mod+Shift+Escape exec systemctl poweroff
focus_follows_mouse no focus_follows_mouse no
# Variables to set # Variables to set
@@ -46,10 +47,7 @@ bindsym $mod+F9 exec lollypop
bindsym $mod+F10 exec spotify bindsym $mod+F10 exec spotify
bindsym $mod+F11 exec rofi -show drun bindsym $mod+F11 exec rofi -show drun
## xfce4-terminal
bindsym f12 exec xfce4-terminal --drop-down
# Start a terminal
bindsym $mod+Return exec "rofi -show" bindsym $mod+Return exec "rofi -show"
bindsym $mod+Shift+Space exec $terminal bindsym $mod+Shift+Space exec $terminal
@@ -97,10 +95,8 @@ bindsym Alt+Up exec variety --pause
bindsym Alt+Down exec variety --resume bindsym Alt+Down exec variety --resume
# task manager # task manager
bindsym Ctrl+Shift+Escape exec kitty -e btop
bindsym Ctrl+Alt+End exec kitty -e btop
bindsym $mod+Escape exec ~/.config/sway/scripts/wkill.sh #bindsym $mod+Escape exec ~/.config/sway/scripts/wkill.sh
# CONTROL + ALT # CONTROL + ALT
bindsym Ctrl+Alt+b exec thunar bindsym Ctrl+Alt+b exec thunar
@@ -176,9 +172,7 @@ bindsym Ctrl+Alt+s exec spotify
bindsym $mod+v splitv bindsym $mod+v splitv
# Switch the current container between different layout styles # Switch the current container between different layout styles
bindsym $mod+s layout stacking bindsym $mod+t layout toggle tabbed splith
bindsym $mod+w layout tabbed
bindsym $mod+t layout toggle split
# Make the current focus fullscreen # Make the current focus fullscreen
bindsym $mod+f fullscreen bindsym $mod+f fullscreen
@@ -187,7 +181,7 @@ bindsym Ctrl+Alt+s exec spotify
bindsym $mod+d floating toggle bindsym $mod+d floating toggle
# Swap focus between the tiling area and the floating area # Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle #bindsym $mod+space focus mode_toggle
# Move focus to the parent container # Move focus to the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent

View File

@@ -3,9 +3,6 @@
# exec_always ~/.config/sway/scripts/ricing # exec_always ~/.config/sway/scripts/ricing
exec_always ~/.config/sway/scripts/gtkthemes exec_always ~/.config/sway/scripts/gtkthemes
# Set inner/outer gaps
gaps inner 5
gaps outer 5
# Hide titlebar on windows: # Hide titlebar on windows:
default_border pixel 2 default_border pixel 2

View File

@@ -136,11 +136,6 @@
"signal": 1, // SIGHUP "signal": 1, // SIGHUP
"tooltip": false, "tooltip": false,
"on-click": "~/.config/waybar/scripts/keyhint", "on-click": "~/.config/waybar/scripts/keyhint",
},
"custom/keybindings": {
"format":"  ",
"tooltip": false,
"on-click": "~/.config/sway/waybar/scripts/keyhint",
}, },
"custom/launcher": { "custom/launcher": {
"format":" ", "format":" ",