From 0a0cc70b96a39d876e9a4146098be5f182e66095 Mon Sep 17 00:00:00 2001 From: moonleay Date: Thu, 16 Nov 2023 08:27:13 +0100 Subject: [PATCH] changed workspace modifiers --- gtk-2.0/gtkfilechooser.ini | 4 +-- hypr/hyprland.conf | 70 +++++++++++++++++++++++++++----------- hypr/hyprpaper.conf | 1 + waybar/modules/spotify.sh | 8 ++--- 4 files changed, 57 insertions(+), 26 deletions(-) diff --git a/gtk-2.0/gtkfilechooser.ini b/gtk-2.0/gtkfilechooser.ini index 6eb75cc..753c80c 100644 --- a/gtk-2.0/gtkfilechooser.ini +++ b/gtk-2.0/gtkfilechooser.ini @@ -2,8 +2,8 @@ LocationMode=path-bar ShowHidden=false ShowSizeColumn=true -GeometryX=1820 -GeometryY=236 +GeometryX=220 +GeometryY=96 GeometryWidth=840 GeometryHeight=630 SortColumn=name diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 3c05888..8fedcb0 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -165,28 +165,58 @@ bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Switch workspaces with mainMod + [0-9] -bind = $mainMod, 1, workspace, 1 -bind = $mainMod, 2, workspace, 2 -bind = $mainMod, 3, workspace, 3 -bind = $mainMod, 4, workspace, 4 -bind = $mainMod, 5, workspace, 5 -bind = $mainMod, 6, workspace, 6 -bind = $mainMod, 7, workspace, 7 -bind = $mainMod, 8, workspace, 8 -bind = $mainMod, 9, workspace, 9 -bind = $mainMod, 0, workspace, 10 +#bind = $mainMod, 1, workspace, 1 +#bind = $mainMod, 2, workspace, 2 +#bind = $mainMod, 3, workspace, 3 +#bind = $mainMod, 4, workspace, 4 +#bind = $mainMod, 5, workspace, 5 +#bind = $mainMod, 6, workspace, 6 +#bind = $mainMod, 7, workspace, 7 +#bind = $mainMod, 8, workspace, 8 +#bind = $mainMod, 9, workspace, 9 +#bind = $mainMod, 0, workspace, 10 + +bind = $mainMod, grave, workspace, 1 +bind = $mainMod, 1, workspace, 2 +bind = $mainMod, 2, workspace, 3 +bind = $mainMod, 3, workspace, 4 +bind = $mainMod, 4, workspace, 5 +bind = $mainMod, 5, workspace, 6 +bind = $mainMod, 6, workspace, 7 +bind = $mainMod, 7, workspace, 8 +bind = $mainMod, 8, workspace, 9 +bind = $mainMod, 9, workspace, 10 +bind = $mainMod, 0, workspace, 11 +bind = $mainMod, minus, workspace, 12 +bind = $mainMod, equal, workspace, 13 # Move active window to a workspace with mainMod + SHIFT + [0-9] -bind = $mainMod SHIFT, 1, movetoworkspace, 1 -bind = $mainMod SHIFT, 2, movetoworkspace, 2 -bind = $mainMod SHIFT, 3, movetoworkspace, 3 -bind = $mainMod SHIFT, 4, movetoworkspace, 4 -bind = $mainMod SHIFT, 5, movetoworkspace, 5 -bind = $mainMod SHIFT, 6, movetoworkspace, 6 -bind = $mainMod SHIFT, 7, movetoworkspace, 7 -bind = $mainMod SHIFT, 8, movetoworkspace, 8 -bind = $mainMod SHIFT, 9, movetoworkspace, 9 -bind = $mainMod SHIFT, 0, movetoworkspace, 10 +#bind = $mainMod SHIFT, 1, movetoworkspace, 1 +#bind = $mainMod SHIFT, 2, movetoworkspace, 2 +#bind = $mainMod SHIFT, 3, movetoworkspace, 3 +#bind = $mainMod SHIFT, 4, movetoworkspace, 4 +#bind = $mainMod SHIFT, 5, movetoworkspace, 5 +#bind = $mainMod SHIFT, 6, movetoworkspace, 6 +#bind = $mainMod SHIFT, 7, movetoworkspace, 7 +#bind = $mainMod SHIFT, 8, movetoworkspace, 8 +#bind = $mainMod SHIFT, 9, movetoworkspace, 9 +#bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +bind = $mainMod SHIFT, grave, movetoworkspace, 1 +bind = $mainMod SHIFT, 1, movetoworkspace, 2 +bind = $mainMod SHIFT, 2, movetoworkspace, 3 +bind = $mainMod SHIFT, 3, movetoworkspace, 4 +bind = $mainMod SHIFT, 4, movetoworkspace, 5 +bind = $mainMod SHIFT, 5, movetoworkspace, 6 +bind = $mainMod SHIFT, 6, movetoworkspace, 7 +bind = $mainMod SHIFT, 7, movetoworkspace, 8 +bind = $mainMod SHIFT, 8, movetoworkspace, 9 +bind = $mainMod SHIFT, 9, movetoworkspace, 10 +bind = $mainMod SHIFT, 0, movetoworkspace, 11 +bind = $mainMod SHIFT, minus, movetoworkspace, 12 +bind = $mainMod SHIFT, equal, movetoworkspace, 13 + + bind = $mainMod SHIFT, s, exec, grim -g "$(slurp)" -c "/home/moonleay/Pictures/Screenshots/$(date +'%s_grim.png')" bind = $mainMod SHIFT, q, exec, librewolf diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 713dc73..736b492 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,4 +1,5 @@ preload = ~/Pictures/Wallpaper/cityx4.png + #if more than one preload is desired then continue to preload other backgrounds #preload = /path/to/next_image.png # .. more preloads diff --git a/waybar/modules/spotify.sh b/waybar/modules/spotify.sh index 2c7a1c5..b0bfd0d 100755 --- a/waybar/modules/spotify.sh +++ b/waybar/modules/spotify.sh @@ -5,8 +5,8 @@ icon="󰈹 " if [[ $class == "playing" ]]; then info=$(playerctl metadata --player=firefox --format '{{title}}') - if [[ ${#info} > 60 ]]; then - info=$(echo $info | cut -c1-60)"..." + if [[ ${#info} > 30 ]]; then + info=$(echo $info | cut -c1-30)"..." fi text=$info" "$icon elif [[ $class == "paused" ]]; then @@ -20,8 +20,8 @@ classa=$(playerctl metadata --player=spotify --format '{{lc(status)}}') if [[ $classa == "playing" ]]; then icon="" info=$(playerctl metadata --player=spotify --format '{{artist}} - {{title}}') - if [[ ${#info} > 40 ]]; then - info=$(echo $info | cut -c1-40)"..." + if [[ ${#info} > 30 ]]; then + info=$(echo $info | cut -c1-30)"..." fi text=$info" "$icon elif [[ $class == "paused" ]]; then