From 3aec1d9c04fa7321038370122c80fa87c578e757 Mon Sep 17 00:00:00 2001 From: Jika Date: Wed, 12 Feb 2025 00:14:04 +0100 Subject: [PATCH 1/2] Rework powermenu sizes --- rofi/powermenu | 3 ++- rofi/powermenu.rasi | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/rofi/powermenu b/rofi/powermenu index 8919863..5d150e2 100755 --- a/rofi/powermenu +++ b/rofi/powermenu @@ -38,7 +38,8 @@ confirm_cmd() { -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 250px;}' \ -theme-str 'mainbox {children: [ "message", "listview" ];}' \ -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ + -theme-str 'element-text {horizontal-align: 0.5; }' \ + -theme-str 'element {padding: 0px; }'\ -theme-str 'textbox {horizontal-align: 0.5;}' \ -dmenu \ -p 'Confirmation' \ diff --git a/rofi/powermenu.rasi b/rofi/powermenu.rasi index 211c688..1c344b2 100644 --- a/rofi/powermenu.rasi +++ b/rofi/powermenu.rasi @@ -26,7 +26,7 @@ window { location: center; anchor: center; fullscreen: false; - width: 1200px; + width: 800px; x-offset: 0px; y-offset: 0px; @@ -93,7 +93,7 @@ prompt { message { enabled: true; margin: 0px 50px; - padding: 15px; + padding: 10px; border: 0px solid; border-radius: 100%; border-color: @selected; @@ -147,7 +147,7 @@ element { enabled: true; spacing: 0px; margin: 0px; - padding: 70px 10px; + padding: 0px; border: 0px solid; border-radius: 100%; border-color: @selected; @@ -157,7 +157,7 @@ element { } element-text { font: "JetBrains Mono Nerd Font 55"; - padding: 0px 0px 0px -18px; + padding: 0px 0px 0px -15px; background-color: transparent; text-color: inherit; cursor: inherit; From fd005f5790800fad8f6835d9a9ffa2ca9366189d Mon Sep 17 00:00:00 2001 From: Jika Date: Wed, 12 Feb 2025 00:15:58 +0100 Subject: [PATCH 2/2] Change nvim window title display in waybar --- sway/config | 2 +- waybar/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/config b/sway/config index 472068d..55f14ce 100644 --- a/sway/config +++ b/sway/config @@ -70,7 +70,7 @@ input * { # Shortcuts bindsym $mod+w exec firefox - bindsym $mod+i exec $term -e "nvim" + bindsym $mod+i exec $term -T nvim -e nvim bindsym $mod+Shift+p exec hyprpicker -a bindsym $mod+s exec watershot -c directory ~/Pictures/ bindsym Print exec GRIM_DEFAULT_DIR=~/Pictures/ grim diff --git a/waybar/config b/waybar/config index 3747e65..5b1b8f0 100755 --- a/waybar/config +++ b/waybar/config @@ -80,7 +80,7 @@ "(.*) — Mozilla Firefox": "󰈹 $1", "(.*)gitui(.*)": "󰊢 Gitui", "(jika@.+)": ">_ $1", - "nvim (.*)": " $1" + "nvim.*": " NeoVim" }, "tooltip": false },