From 94632c4835ef8a153cb6f20e7475d17c9011109c Mon Sep 17 00:00:00 2001 From: Melendezz Date: Fri, 23 Aug 2024 18:23:26 -0700 Subject: [PATCH] move : iMac18,2 waybar config to its respective folder, add : hrpyland config from greed-d --- configs/hyprland_l/iMac18,2/hypr/README.md | 18 +++++ .../iMac18,2/hypr/config/env_vars.conf | 9 +++ .../iMac18,2/hypr/config/execs.conf | 23 +++++++ .../hyprland_l/iMac18,2/hypr/hyprland.conf | 37 +++++++++++ configs/sway_g/iMac18,2/style.css | 66 ------------------- 5 files changed, 87 insertions(+), 66 deletions(-) create mode 100644 configs/hyprland_l/iMac18,2/hypr/README.md create mode 100644 configs/hyprland_l/iMac18,2/hypr/config/env_vars.conf create mode 100644 configs/hyprland_l/iMac18,2/hypr/config/execs.conf create mode 100644 configs/hyprland_l/iMac18,2/hypr/hyprland.conf delete mode 100644 configs/sway_g/iMac18,2/style.css diff --git a/configs/hyprland_l/iMac18,2/hypr/README.md b/configs/hyprland_l/iMac18,2/hypr/README.md new file mode 100644 index 0000000..747bec6 --- /dev/null +++ b/configs/hyprland_l/iMac18,2/hypr/README.md @@ -0,0 +1,18 @@ +
+ +# Hyprland configuration & utilities + +
+ +## Arch +```bash +# Hyprland family apps +sudo pacman -S sudo pacman -S hyprland hyprpaper hyprlock hypridle xdg-desktop-portal-hyprland + +# Notification +sudo pacman -S swaync + +# Cliboard +sudo pacman -S wl- + +``` diff --git a/configs/hyprland_l/iMac18,2/hypr/config/env_vars.conf b/configs/hyprland_l/iMac18,2/hypr/config/env_vars.conf new file mode 100644 index 0000000..c3580ac --- /dev/null +++ b/configs/hyprland_l/iMac18,2/hypr/config/env_vars.conf @@ -0,0 +1,9 @@ +env = GDK_BACKEND,wayland,x11,* +env = XDG_CURRENT_DESKTOP,Hyprland +env = XDG_SESSION_DESKTOP,Hyprland +env = XDG_SESSION_TYPE,wayland +# firefox +env = MOZ_ENABLE_WAYLAND,1 + +# electron >28 apps (may help) +env = ELECTRON_OZONE_PLATFORM_HINT,auto diff --git a/configs/hyprland_l/iMac18,2/hypr/config/execs.conf b/configs/hyprland_l/iMac18,2/hypr/config/execs.conf new file mode 100644 index 0000000..8174a7e --- /dev/null +++ b/configs/hyprland_l/iMac18,2/hypr/config/execs.conf @@ -0,0 +1,23 @@ +# CLIPBOARD HISTORY +exec-once = wl-paste --watch cliphist store +exec-once=wl-clipboard-history -t +exec-once = wl-paste --type text --watch cliphist store #Stores only text data +exec-once = wl-paste --type image --watch cliphist store #Stores only image data + +# NOTIFICATIONS + +# exec-once = swaync + +# MISC EXECS + +# exec-once = waybar +exec-once = ags +exec-once = hyprpaper +exec-once = hypridle +exec-once = ~/.local/scripts/arrpc +exec-once = $HOME/.config/hypr/scripts/xdph + +# STARTUP APPS +# exec-once = class:^([Aa]rm[Cc]ord)$ +# exec-once = class:^(vesktop)$ +# exec-once = class:^(org.telegram.desktop)$ diff --git a/configs/hyprland_l/iMac18,2/hypr/hyprland.conf b/configs/hyprland_l/iMac18,2/hypr/hyprland.conf new file mode 100644 index 0000000..6a8507e --- /dev/null +++ b/configs/hyprland_l/iMac18,2/hypr/hyprland.conf @@ -0,0 +1,37 @@ +# GENERAL +general { + sensitivity = 1.00 + + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = false + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false + + layout = dwindle +} + +dwindle { + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # You probably want this +} + +master { +# new_is_master = true +} + +misc { + force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( +} + +binds { + # allow_workspace_cycles = true + workspace_back_and_forth = true +} + +# INPUT +gestures { + workspace_swipe = true +} + diff --git a/configs/sway_g/iMac18,2/style.css b/configs/sway_g/iMac18,2/style.css deleted file mode 100644 index 29f03a0..0000000 --- a/configs/sway_g/iMac18,2/style.css +++ /dev/null @@ -1,66 +0,0 @@ -@define-color background #282A2E; /* #1a1b26; */ -@define-color foreground #C5C8C6; -@define-color focused #fc893a; /* #bb9af7; */ -@define-color unfocused #edf0ef; /* #c0caf5; */ -@define-color occupied #F0C674; /* #565f89; */ -@define-color urgent #f7768e; - -* { - font-family: IosevkaTerm Nerd Font; - font-size: 24px; - min-height: 0px; -} - -window#waybar { - color: @foreground; - background: @background; -} - -#workspaces button { - padding: 2 14px; - color: @unfocused; - border-radius: 0px; -} - -#workspaces button:hover { - box-shadow: inherit; - text-shadow: inherit; - background: inherit; -} - -#workspaces button.occupied { - color: @occupied; - font-weight: bold; -} - -#workspaces button.focused { - color: @focused; -} - -#workspaces button.urgent { - color: @urgent; -} - -#network { - color: @focused; -} - -.modules-left { - margin: 0px 0 0 0px; -} - -.modules-right { - margin: 0px 0 0 0px; -} - -#workspaces { - padding-right: 10px; - margin-left: 10px; -} - -#tray, -#battery, -#network, -#custom-clock { - padding: 0px 8px; -}