small usability improvements

This commit is contained in:
Daniel Bulant 2025-06-20 23:10:39 +02:00
parent 920bb47bd7
commit 60f8ecf9b5
No known key found for this signature in database
7 changed files with 1939 additions and 35 deletions

View file

@ -1,11 +1,10 @@
general {
col.active_border = rgba(F7DCDE39)
col.inactive_border = rgba(A58A8D30)
col.active_border = rgba(dde4e339)
col.inactive_border = rgba(88939230)
}
misc {
background_color = rgba(1D1011FF)
background_color = rgba(0e1514FF)
}
windowrulev2 = bordercolor rgba(FFB2BCAA) rgba(FFB2BC77),pinned:1
windowrulev2 = bordercolor rgba(80d4d5AA) rgba(80d4d577),pinned:1

View file

@ -69,7 +69,7 @@ exec-once=lorri daemon
#exec-once=wlsunset -S 6:00 -s 21:30
# exec-once=swaybg -m fill -i ~/.config/hypr/wallpapers/sunflowers.jpg
exec-once = swww-daemon --format xrgb --no-cache
exec-once = swww-daemon --no-cache
# "$(cat ~/.local/state/quickshell/user/generated/wallpaper/path.txt)"
exec-once = sleep 0.5; swww img ~/.config/hypr/wallpapers/sunflowers.jpg --transition-step 100 --transition-fps 120 --transition-type grow --transition-angle 30 --transition-duration 1
# exec-once=waybar
@ -260,33 +260,45 @@ windowrule=float,title:branchdialog
windowrule=tile,title:*vivaldi*
# can be more specific (:bar, :mediaControls, etc)
layerrule = blur, quickshell
layerrule = blur, quickshell:overview
layerrule = blurpopups, quickshell:overview
layerrule = ignorealpha .2, quickshell:overview
layerrule = blur, quickshell:sidebarLeft
layerrule = blurpopups, quickshell:sidebarLeft
layerrule = ignorealpha .2, quickshell:sidebarLeft
layerrule = blur, quickshell:sidebarRight
layerrule = blurpopups, quickshell:sidebarRight
layerrule = ignorealpha .2, quickshell:sidebarRight
blurls=gtk-layer-shell
blurls=lockscreen
blurls = rofi
$dir = ~/.config
bindr = SUPER, R, exec, pkill rofi || $dir/rofi/bin/launcher
bind = SUPER, P, exec, pkill rofi || $dir/rofi/bin/powermenu
#! quickshell
# bindr = SUPER, R, exec, pkill rofi || $dir/rofi/bin/launcher
bind = SUPER, r, global, quickshell:overviewToggle
# bind = SUPER, P, exec, pkill rofi || $dir/rofi/bin/powermenu
bind = SUPER, p, global, quickshell:sessionToggle
bind = SUPER, m, global, quickshell:mediaControlsToggle
bind = SUPER, grave, global, quickshell:sidebarLeftToggle
bind = SUPER, b, global, quickshell:sidebarRightToggle
bind = SUPER, slash, global, quickshell:cheatsheetToggle
bind = SUPER, tab, global, quickshell:overviewToggle
bindrt = SUPER, SUPER_L, global, quickshell:workspaceNumber
bindd = Super, h, Clipboard history >> clipboard, global, quickshell:overviewClipboardToggle # Clipboard history >> clipboard
bindd = Super, Period, Emoji >> clipboard, global, quickshell:overviewEmojiToggle # Emoji >> clipboard
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
#! programs
bind = $mainMod, T, exec, kitty
bind=$mainMod,K,exec,kitty
bind=SUPER,B,exec,vivaldi-stable
bind = $mainMod, Q, killactive,
bind = super+ctrl, q, exit,
bind = $mainMod, E, exec, dolphin
#! current window management
bind = $mainMod, Q, killactive,
# bind = $mainMod, V, togglefloating,
#bind = $mainMod, R, exec, rofi -show drun
#bind = $mainMod, P, pseudo, # dwindle
@ -298,7 +310,7 @@ bind=SUPER,A,swapactiveworkspaces,current +1
# bind = SUPER, grave, hyprexpo:expo, toggle
# Special keys
#! media keys
bindle=, XF86MonBrightnessUp, exec, xbacklight -inc 10
bindle=, XF86MonBrightnessDown, exec, xbacklight -dec 10
@ -311,7 +323,7 @@ bindl=, XF86AudioPlay, exec, playerctl play-pause # the stupid key is called pla
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioPrev, exec, playerctl previous
# Move focus with mainMod + arrow keys
#! focus
bind = SUPER+ALT, left, movefocus, l
bind = SUPER+ALT, right, movefocus, r
bind = SUPER+ALT, up, movefocus, u
@ -319,7 +331,7 @@ bind = SUPER+ALT, down, movefocus, d
bind = SUPER+SHIFT, left,changegroupactive,b
bind = SUPER+SHIFT,right,changegroupactive,f
# Switch workspaces with mainMod + [0-9]
#! workspaces
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
@ -331,7 +343,6 @@ bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Switch secondary display with mainMod + alt + [0-9]
bind = $mainMod+ALT, 1, workspace, 10
bind = $mainMod+ALT, 2, workspace, 11
bind = $mainMod+ALT, 3, workspace, 12
@ -344,25 +355,27 @@ bind = $mainMod+ALT, 9, workspace, 18
bind = $mainMod+ALT, 0, workspace, 19
# Switch workspace with arrow keys
bind = SUPER+CONTROL, right, workspace, +1
bind = SUPER+CONTROL, left, workspace, -1
bind = super+control+shift,left,movetoworkspace,-1
bind = super+control+shift,right,movetoworkspace,+1
# Move window to other display
#! window movement
bind = SUPER, right, movewindow, mon:+1
bind = SUPER, left, movewindow, mon:-1
bind = ALT, tab, cyclenext,
bind = ALT+SHIFT, tab, cyclenext, prev
bind = ,Print,exec,grim - | wl-copy
#! screenshots
# bind = ,Print,exec,grim - | wl-copy
bind = ,Print,exec,hyprshot --clipboard-only --mode active --mode output
# bind = SUPER+SHIFT,S,exec,spectacle --copy-image --region --background # no gui
bind = SUPER+SHIFT,S,exec,grim -g "$(slurp)" - | wl-copy
# bind = SUPER+SHIFT,S,exec,grim -g "$(slurp)" - | wl-copy
bind = SUPER+SHIFT,S,exec,hyprshot --freeze --clipboard-only --mode region
bind = SUPER, L,exec,$swaylock
# Move active window to a workspace with mainMod + SHIFT + [0-9]
#! move windows to workspaces
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
@ -374,7 +387,7 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Scroll through existing workspaces with mainMod + scroll
#! mouse bindings
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
@ -384,7 +397,7 @@ bind = super, m, layoutmsg,swapwithmaster
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# global hotkeys
#! global keybinds
bind = CTRL+ALT,1,pass,^(com\.obsproject\.Studio)$
bind = CTRL+ALT,2,pass,^(com\.obsproject\.Studio)$

View file

@ -30,7 +30,7 @@ Item {
"Slash": "/",
"Hash": "#",
"Return": "Enter",
// "Shift": "",
"Shift": "",
})
RowLayout { // Keybind columns

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,7 @@ import Quickshell.Io
*/
Singleton {
id: root
property string emojiScriptPath: `${Directories.config}/hypr/hyprland/scripts/fuzzel-emoji.sh`
property string emojiScriptPath: `${Directories.config}/quickshell/scripts/fuzzel-emoji.sh`
property string lineBeforeData: "### DATA ###"
property list<var> list
readonly property var preparedEntries: list.map(a => ({

View file

@ -17,7 +17,7 @@ Singleton {
id: root
property string keybindParserPath: FileUtils.trimFileProtocol(`${Directories.config}/quickshell/scripts/hyprland/get_keybinds.py`)
property string defaultKeybindConfigPath: FileUtils.trimFileProtocol(`${Directories.config}/hypr/hyprland/keybinds.conf`)
property string userKeybindConfigPath: FileUtils.trimFileProtocol(`${Directories.config}/hypr/custom/keybinds.conf`)
property string userKeybindConfigPath: FileUtils.trimFileProtocol(`${Directories.config}/hypr/hyprland.conf`)
property var defaultKeybinds: {"children": []}
property var userKeybinds: {"children": []}
property var keybinds: ({
@ -41,7 +41,7 @@ Singleton {
Process {
id: getDefaultKeybinds
running: true
command: [root.keybindParserPath, "--path", root.defaultKeybindConfigPath,]
command: ["python3", root.keybindParserPath, "--path", root.defaultKeybindConfigPath,]
stdout: SplitParser {
onRead: data => {
@ -57,7 +57,7 @@ Singleton {
Process {
id: getUserKeybinds
running: true
command: [root.keybindParserPath, "--path", root.userKeybindConfigPath]
command: ["python3", root.keybindParserPath, "--path", root.userKeybindConfigPath]
stdout: SplitParser {
onRead: data => {

View file

@ -36,6 +36,10 @@ in
uv
hyprshot
libsecret
hyprls
ddcutil
brightnessctl
libqalculate
# cloud things
minikube