From 87298afcb59cf047a42bf8c8a654b9b64f06baac Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 18 Mar 2025 14:12:15 +0100 Subject: [PATCH] Update rofi collection script --- collect.sh | 2 ++ collectLaptop.sh | 2 ++ general/configs/rofi/config.rasi | 2 ++ general/hyprland/general.conf | 1 + laptop/configs/hypr/hyprland.conf | 10 ++++++++++ laptop/configs/rofi/config.rasi | 13 +++++++++++++ setup.sh | 1 + setupLaptop.sh | 1 + 8 files changed, 32 insertions(+) create mode 100755 laptop/configs/rofi/config.rasi diff --git a/collect.sh b/collect.sh index 617e1a2..b2e318d 100755 --- a/collect.sh +++ b/collect.sh @@ -27,6 +27,8 @@ mkdir ./pc/configs/OpenRGB mkdir ./pc/configs/Portmaster cp -r ~/.config/hypr ./pc/configs/ cp -r ~/.config/waybar ./pc/configs/ +mkdir ./pc/configs/rofi +cp ~/.config/rofi/config.rasi ./pc/configs/rofi/ cp -r ~/.config/OpenRGB/OpenRGB.json ./pc/configs/OpenRGB/OpenRGB.json cp ~/.config/Portmaster/Preferences ./pc/configs/Portmaster/ cp -r ~/.config/mpv ./general/configs diff --git a/collectLaptop.sh b/collectLaptop.sh index 447d504..3b5f44d 100755 --- a/collectLaptop.sh +++ b/collectLaptop.sh @@ -14,6 +14,8 @@ pacman -Qq > ./laptop/installedPackages.txt # copy other config files cp -r ~/.config/hypr ./laptop/configs cp -r ~/.config/waybar ./laptop/configs +mkdir ./laptop/configs/rofi +cp ~/.config/rofi/config.rasi ./laptop/configs/rofi/ cp -r ~/.config/wlogout ./general/configs cp -r ~/.config/mpv ./general/configs cp -r ~/.config/dunst ./general/configs diff --git a/general/configs/rofi/config.rasi b/general/configs/rofi/config.rasi index dd165f0..ab94e55 100755 --- a/general/configs/rofi/config.rasi +++ b/general/configs/rofi/config.rasi @@ -7,5 +7,7 @@ configuration { display-run: "🏃🏽‍♂️ "; display-window: "🗔 "; display-combi: "🔎 "; + dpi: 160; } + @theme "themes/mcLarenTheme.rasi" diff --git a/general/hyprland/general.conf b/general/hyprland/general.conf index 2397819..0d127cc 100644 --- a/general/hyprland/general.conf +++ b/general/hyprland/general.conf @@ -123,3 +123,4 @@ cursor { no_warps = false inactive_timeout = 60 } + diff --git a/laptop/configs/hypr/hyprland.conf b/laptop/configs/hypr/hyprland.conf index 1032652..2d580d6 100644 --- a/laptop/configs/hypr/hyprland.conf +++ b/laptop/configs/hypr/hyprland.conf @@ -33,6 +33,16 @@ exec = hyprctl setcursor oreo_spark_blue_cursors 36 env = HYPRCURSOR_THEME, Oreo_spark_blue_cursor env = X_CURSOR_THEME, Oreo_spark_blue_cursor env = XCURSOR_SIZE,24 +env = ELECTRON_ENABLE_HIGHDPI_SUPPORT, 1 +env = XDG_SESSION_TYPE, wayland +env = QT_QPA_PLATFORM,wayland +# env = QT_QPA_PLATFORM_THEME,qt6ct +env = ELECTRON_OZONE_PLATFORM_HINT,wayland +env = GDK_SCALE,2 + +xwayland { + force_zero_scaling = true +} # Volume control bind = ,code:123, exec, pamixer -i 5 diff --git a/laptop/configs/rofi/config.rasi b/laptop/configs/rofi/config.rasi new file mode 100755 index 0000000..ab94e55 --- /dev/null +++ b/laptop/configs/rofi/config.rasi @@ -0,0 +1,13 @@ +/** Basic config file **/ + +configuration { + show-icons: true; + icon-theme: "Candy"; + display-drun: ""; + display-run: "🏃🏽‍♂️ "; + display-window: "🗔 "; + display-combi: "🔎 "; + dpi: 160; +} + +@theme "themes/mcLarenTheme.rasi" diff --git a/setup.sh b/setup.sh index e6e19f4..dc63e1f 100755 --- a/setup.sh +++ b/setup.sh @@ -8,6 +8,7 @@ cp -r ./general/configs/VSCodium/* ~/.config/VSCodium/ cp -r ./pc/configs/hypr ~/.config/ cp -r ./pc/configs/waybar ~/.config/ cp -r ./general/configs/* ~/.config/ +cp ./pc/configs/rofi/config.rasi ~/config/rofi/ # Copy hyprland general config cp -r ./general/hyprland ~/.config/hypr/ diff --git a/setupLaptop.sh b/setupLaptop.sh index fd9a0f8..3cfbcd3 100755 --- a/setupLaptop.sh +++ b/setupLaptop.sh @@ -8,6 +8,7 @@ cp -r ./general/configs/VSCodium/* ~/.config/VSCodium/ cp -r ./laptop/configs/hypr ~/.config/ cp -r ./laptop/configs/waybar ~/.config/ cp -r ./general/configs/* ~/.config/ +cp ./laptop/configs/rofi/config.rasi ~/config/rofi/ # Copy hyprland general config cp -r ./general/hyprland ~/.config/hypr/