some shell tweaks, hush

This commit is contained in:
atagen 2025-09-19 11:02:43 +10:00
parent 6b2b079a18
commit 5203e0b27e
9 changed files with 177 additions and 108 deletions

View file

@ -20,8 +20,9 @@ output "DP-2" {
scale 1
transform "normal"
variable-refresh-rate on-demand=false
focus-at-startup
}
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
screenshot-path "~/screenshots/%Y-%m-%d %H-%M-%S.png"
prefer-no-csd
layout {
gaps 64
@ -54,30 +55,44 @@ cursor {
}
hotkey-overlay { skip-at-startup; }
binds {
Mod+Grave { focus-monitor-next; }
Mod+Shift+Grave { move-column-to-monitor-next; }
Mod+1 { spawn "tagctl" "toggle-tag" "1"; }
Mod+2 { spawn "tagctl" "toggle-tag" "2"; }
Mod+3 { spawn "tagctl" "toggle-tag" "3"; }
Mod+4 { spawn "tagctl" "toggle-tag" "4"; }
Mod+5 { spawn "tagctl" "toggle-tag" "5"; }
Mod+6 { spawn "tagctl" "toggle-tag" "6"; }
Mod+7 { spawn "tagctl" "toggle-tag" "7"; }
Mod+8 { spawn "tagctl" "toggle-tag" "8"; }
Mod+9 { spawn "tagctl" "toggle-tag" "9"; }
Mod+0 { spawn "tagctl" "toggle-tag" "10"; }
Mod+Minus { spawn "tagctl" "toggle-tag" "99"; }
Mod+Equal { spawn "tagctl" "toggle-tag" "101"; }
Mod+Ctrl+1 { spawn "tagctl" "exclusive-tag" "1"; }
Mod+Ctrl+2 { spawn "tagctl" "exclusive-tag" "2"; }
Mod+Ctrl+3 { spawn "tagctl" "exclusive-tag" "3"; }
Mod+Ctrl+4 { spawn "tagctl" "exclusive-tag" "4"; }
Mod+Ctrl+5 { spawn "tagctl" "exclusive-tag" "5"; }
Mod+Ctrl+6 { spawn "tagctl" "exclusive-tag" "6"; }
Mod+Ctrl+7 { spawn "tagctl" "exclusive-tag" "7"; }
Mod+Ctrl+8 { spawn "tagctl" "exclusive-tag" "8"; }
Mod+Ctrl+9 { spawn "tagctl" "exclusive-tag" "9"; }
Mod+Ctrl+0 { spawn "tagctl" "exclusive-tag" "10"; }
Mod+Ctrl+Minus { spawn "tagctl" "exclusive-tag" "99"; }
Mod+Ctrl+Equal { spawn "tagctl" "exclusive-tag" "101"; }
Mod+Ctrl+H { move-column-left-or-to-monitor-left; }
Mod+Ctrl+J { move-window-down; }
Mod+Ctrl+K { move-window-up; }
Mod+Ctrl+L { move-column-right-or-to-monitor-right; }
Mod+D { spawn "qs" "ipc" "call" "launch" "toggle"; }
Mod+E { spawn "caja"; }
Mod+Equal { spawn "bitwarden"; }
// Mod+Equal { spawn "keepassxc"; }
Mod+F { spawn "firefox"; }
Mod+H { focus-column-left; }
Mod+H { focus-column-or-monitor-left; }
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }
Mod+L { focus-column-right; }
Mod+L { focus-column-or-monitor-right; }
Mod+R { switch-preset-column-width; }
Mod+Return { spawn "foot"; }
Mod+Shift+1 { spawn "tagctl" "toggle" "1"; }
@ -86,6 +101,12 @@ binds {
Mod+Shift+4 { spawn "tagctl" "toggle" "4"; }
Mod+Shift+5 { spawn "tagctl" "toggle" "5"; }
Mod+Shift+6 { spawn "tagctl" "toggle" "6"; }
Mod+Shift+7 { spawn "tagctl" "toggle" "7"; }
Mod+Shift+8 { spawn "tagctl" "toggle" "8"; }
Mod+Shift+9 { spawn "tagctl" "toggle" "9"; }
Mod+Shift+0 { spawn "tagctl" "toggle" "10"; }
Mod+Shift+Minus { spawn "tagctl" "toggle" "99"; }
Mod+Shift+Equal { spawn "tagctl" "toggle" "101"; }
Mod+Shift+E { spawn "qs" "ipc" "call" "logout" "toggle"; }
Mod+Shift+H { consume-or-expel-window-left; }
Mod+Shift+L { consume-or-expel-window-right; }
@ -93,6 +114,8 @@ binds {
Mod+Shift+R { maximize-column; }
Mod+Shift+S { screenshot; }
Mod+Space { toggle-window-floating; }
Mod+Shift+Space { switch-focus-between-floating-and-tiling; }
Mod+C { center-window; }
XF86AudioLowerVolume { spawn "volumectl" "-u" "down"; }
XF86AudioMute { spawn "volumectl" "toggle-mute"; }
XF86AudioNext { spawn "playerctl" "next"; }

View file

@ -6,6 +6,7 @@ import "logout" as Logout
import "title"
import "tags"
import "rice"
import Quickshell
import Quickshell.Wayland
import QtQuick
@ -16,29 +17,37 @@ ShellRoot {
// bg
Variants {
model: Quickshell.screens
delegate: PanelWindow {
id: bg
anchors {
top: true
bottom: true
left: true
right: true
}
exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
Scope {
property var modelData
PanelWindow {
screen: modelData
id: bg
anchors {
top: true
bottom: true
left: true
right: true
}
exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
Image {
asynchronous: true
width: bg.width
height: bg.height
source: "assets/pathway-m-rework.png"
Image {
id: img
rotation: (bg.width < bg.height) ? 90 : 0
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
asynchronous: false
width: (bg.width < bg.height) ? bg.height : bg.width
height: (bg.width < bg.height) ? bg.width : bg.height
source: "assets/pathway-m-rework.png"
}
}
}
}
// rhs main
Variants {
model: Quickshell.screens
model: Quickshell.screens.filter(screen => screen.name == "DP-2")
delegate: PanelWindow {
id: bink
property var modelData
@ -80,7 +89,7 @@ ShellRoot {
// centre main
Variants {
model: Quickshell.screens
model: Quickshell.screens.filter(screen => screen.name == "DP-2")
delegate: PanelWindow {
id: windowTitle
property var modelData