diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-05 16:34:56 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-05 16:34:56 +0200 |
| commit | 7e944e9956272348285db080d4952f17866ba81b (patch) | |
| tree | 3c0effdd3bdf5c81e73c19a7e3fc0f20584b4e1f | |
| parent | cf7c81bb055023e97f1c18a475a6fff856295004 (diff) | |
Add i3-style keybindings and hide application menubars in KDE Plasma
Added i3-compatible shortcuts:
- Meta+Q: close window
- Meta+F: fullscreen toggle
- Meta+1-9: switch virtual desktops
- Meta+Shift+Arrow: tile windows
- Volume/brightness media keys
UI improvements:
- Hidden menubars in Konsole, Dolphin, Kate (toggle with Ctrl+M)
- Borderless windows when maximized
- Minimal window decorations (clean i3-like appearance)
- Disabled toolbutton text for cleaner toolbar
| -rw-r--r-- | home/rices/cassette-futurism/plasma.nix | 96 |
1 files changed, 95 insertions, 1 deletions
diff --git a/home/rices/cassette-futurism/plasma.nix b/home/rices/cassette-futurism/plasma.nix index 8e83892..dfb1338 100644 --- a/home/rices/cassette-futurism/plasma.nix +++ b/home/rices/cassette-futurism/plasma.nix @@ -9,6 +9,49 @@ in { # This provides basic theming until plasma-manager is available xdg.configFile = { + # i3-style keyboard shortcuts for KWin and KDE + "kglobalshortcutsrc".text = '' + [kwin] + # i3-style window management + Window Close=Meta+Q,Alt+F4,Close Window + Window Fullscreen=Meta+F,none,Make Window Fullscreen + Window Maximize=Meta+Shift+F,Meta+PgUp,Maximize Window + Window Minimize=Meta+Shift+N,Meta+PgDown,Minimize Window + + # Virtual desktop switching (like i3 workspaces) + Switch to Desktop 1=Meta+1,none,Switch to Desktop 1 + Switch to Desktop 2=Meta+2,none,Switch to Desktop 2 + Switch to Desktop 3=Meta+3,none,Switch to Desktop 3 + Switch to Desktop 4=Meta+4,none,Switch to Desktop 4 + Switch to Desktop 5=Meta+5,none,Switch to Desktop 5 + Switch to Desktop 6=Meta+6,none,Switch to Desktop 6 + Switch to Desktop 7=Meta+7,none,Switch to Desktop 7 + Switch to Desktop 8=Meta+8,none,Switch to Desktop 8 + Switch to Desktop 9=Meta+9,none,Switch to Desktop 9 + + # Window movement + Window Move Center=Meta+C,none,Move Window to Center + Window Quick Tile Bottom=Meta+Shift+Down,Meta+Down,Quick Tile Window to the Bottom + Window Quick Tile Top=Meta+Shift+Up,Meta+Up,Quick Tile Window to the Top + Window Quick Tile Left=Meta+Shift+Left,Meta+Left,Quick Tile Window to the Left + Window Quick Tile Right=Meta+Shift+Right,Meta+Right,Quick Tile Window to the Right + + [mediacontrol] + # Volume controls (i3 media keys) + mediavolumedown=XF86AudioLowerVolume,none,Media volume down + mediavolumeup=XF86AudioRaiseVolume,none,Media volume up + playpausemedia=XF86AudioPlay,none,Play/Pause media playback + + [org_kde_powerdevil] + # Brightness controls (i3 brightness keys) + Decrease Screen Brightness=XF86MonBrightnessDown,none,Decrease Screen Brightness + Increase Screen Brightness=XF86MonBrightnessUp,none,Increase Screen Brightness + + [plasmashell] + # Application launcher (like dmenu) + activate application launcher=Meta+D\tAlt+F1,none,Activate Application Launcher Widget + ''; + # Plasma color scheme - cassette futurism "kdeglobals".text = '' [ColorEffects:Disabled] @@ -114,6 +157,25 @@ in { [Icons] Theme=breeze-dark + [Toolbar style] + ToolButtonStyle=NoText + ToolButtonStyleOtherToolbars=NoText + + [KDE-Global GUI Settings] + GraphicEffectsLevel=5 + + [PreviewSettings] + MaximumRemoteSize=0 + + [KDE Action Restrictions] + action/kwin_rmb=false + + [Appmenu Style] + Style=InApplication + + [MainToolbarIcons] + Size=22 + [WM] activeBackground=${vars.colors.background} activeBlend=${vars.colors.foreground} @@ -123,7 +185,7 @@ in { inactiveForeground=${vars.colors.gray4} ''; - # KWin effects - enable blur and translucency for that retro-futuristic look + # KWin configuration - effects, compositing, and i3-style shortcuts "kwinrc".text = '' [Compositing] OpenGLIsUnsafe=false @@ -142,6 +204,19 @@ in { kwin4_effect_translucencyEnabled=true slideEnabled=true zoomEnabled=false + + [ModifierOnlyShortcuts] + Meta= + + [Windows] + # Hide application titlebars when maximized (clean look like i3) + BorderlessMaximizedWindows=true + + [org.kde.kdecoration2] + # Minimal window decorations + BorderSize=None + ButtonsOnLeft= + ButtonsOnRight=X ''; # Konsole color scheme @@ -221,6 +296,25 @@ in { [General] Name=Cassette Futurism Parent=FALLBACK/ + + [MenuBar] + MenuBarVisibility=false + ''; + + # Dolphin (file manager) - hide menubar by default + "dolphinrc".text = '' + [MainWindow] + MenuBar=Disabled + ToolBarsMovable=Disabled + + [General] + ShowFullPath=true + ''; + + # Kate (text editor) - hide menubar + "katerc".text = '' + [MainWindow] + MenuBar=Disabled ''; }; |
