Commit eae0d67

Ansari <ping@ansari.wtf>
2025-07-19 12:29:58
hyprland config initial
1 parent 715c004
.config/hypr/modules/autostarts.conf
@@ -0,0 +1,5 @@
+exec-once = hyprpanel
+exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+exec-once = wl-paste --type text --watch cliphist store
+exec-once = wl-paste --type image --watch cliphist store 
+exec-once = hyprctl setcursor arcstarry_cursor 25
\ No newline at end of file
.config/hypr/modules/decorations.conf
@@ -0,0 +1,59 @@
+general {
+    gaps_in = 3
+    gaps_out = 5
+    border_size = 1
+    col.active_border = rgba(b4befeee)
+    col.inactive_border = rgba(595959aa)
+    resize_on_border = true
+    allow_tearing = false
+    layout = master
+}
+
+decoration {
+    rounding = 5
+    rounding_power = 2
+    active_opacity = 1.0
+    inactive_opacity = 1.0
+
+    shadow {
+        enabled = true
+        range = 4
+        render_power = 3
+        color = rgba(1a1a1aee)
+    }
+
+    blur {
+        enabled = true
+        size = 3
+        passes = 1
+        vibrancy = 0.1696
+    }
+}
+
+
+animations {
+    enabled = yes, please :)
+
+    bezier = easeOutQuint,0.23,1,0.32,1
+    bezier = easeInOutCubic,0.65,0.05,0.36,1
+    bezier = linear,0,0,1,1
+    bezier = almostLinear,0.5,0.5,0.75,1.0
+    bezier = quick,0.15,0,0.1,1
+
+    bezier = workspaceEaseInOutCubic, 0.65, 0, 0.35, 1
+
+    animation = global, 1, 10, default
+    animation = border, 1, 5.39, easeOutQuint
+    animation = windows, 1, 4.79, easeOutQuint
+    animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
+    animation = windowsOut, 1, 1.49, linear, popin 87%
+    animation = fadeIn, 1, 1.73, almostLinear
+    animation = fadeOut, 1, 1.46, almostLinear
+    animation = fade, 1, 3.03, quick
+    animation = layers, 1, 3.81, easeOutQuint
+    animation = layersIn, 1, 4, easeOutQuint, fade
+    animation = layersOut, 1, 1.5, linear, fade
+    animation = fadeLayersIn, 1, 1.79, almostLinear
+    animation = fadeLayersOut, 1, 1.39, almostLinear
+    animation = workspaces, 1, 4, workspaceEaseInOutCubic, slide
+}
\ No newline at end of file
.config/hypr/modules/keybinds.conf
@@ -0,0 +1,75 @@
+# See https://wiki.hyprland.org/Configuring/Keywords/
+$mainMod = SUPER # Sets "Windows" key as main modifier
+
+# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
+bind = CONTROLALT, T, exec, $terminal
+bind = $mainMod, C, killactive,
+bind = $mainMod, M, exit,
+bind = $mainMod, E, exec, $fileManager
+bind=  $mainMod CONTROL, right, workspace , e+1
+bind=  $mainMod CONTROL, left, workspace , e-1
+# bind = $mainMod, V, togglefloating,
+bind = $mainMod, V, exec, cliphist list | rofi -dmenu -p ":" | cliphist decode | wl-copy
+bind = $mainMod, SPACE, exec, $menu
+bind = $mainMod, P, pseudo, # dwindle
+bind = $mainMod, J, togglesplit, # dwindle
+
+# Move focus with mainMod + arrow keys
+bind = $mainMod, left, movefocus, l
+bind = $mainMod, right, movefocus, r
+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
+
+# 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
+
+# Example special workspace (scratchpad)
+bind = $mainMod, S, togglespecialworkspace, magic
+bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+
+# Scroll through existing workspaces with mainMod + scroll
+bind = $mainMod, mouse_down, workspace, e+1
+bind = $mainMod, mouse_up, workspace, e-1
+
+# Move/resize windows with mainMod + LMB/RMB and dragging
+bindm = $mainMod, mouse:272, movewindow
+bindm = $mainMod, mouse:273, resizewindow
+
+
+
+input {
+    kb_layout = us
+    kb_variant =
+    kb_model =
+    kb_options =
+    kb_rules =
+
+    follow_mouse = 2
+
+    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
+
+    touchpad {
+        natural_scroll = false
+    }
+}
\ No newline at end of file
.config/hypr/modules/monitors.conf
@@ -0,0 +1,12 @@
+monitor=HDMI-A-1,1920x1080@120.0Hz,auto,1
+
+workspace=1,persistent:true
+workspace=2,persistent:true
+workspace=3,persistent:true
+
+
+#Workspace rules 
+windowrule = float,class:^(com.mitchellh.ghostty)$
+
+# Fix some dragging issues with XWayland
+windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
.config/hypr/modules/vars.conf
@@ -0,0 +1,3 @@
+$terminal = ghostty
+$fileManager = dolphin
+$menu =rofi -show drun
\ No newline at end of file
.config/hypr/hyprland.conf
@@ -0,0 +1,26 @@
+source = ./modules/vars.conf
+source = ./modules/monitors.conf
+source = ./modules/autostarts.conf
+source = ./modules/keybinds.conf
+source = ./modules/decorations.conf
+
+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_status = master
+}
+
+# See https://wiki.hyprland.org/Configuring/Permissions/
+# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
+# for security reasons
+
+# ecosystem {
+#   enforce_permissions = 1
+# }
+
+# permission = /usr/(bin|local/bin)/grim, screencopy, allow
+# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
+# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
.config/hyprpanel/config.json
@@ -0,0 +1,117 @@
+{
+  "bar.customModules.storage.paths": ["/"],
+  "bar.layouts": {
+    "*": {
+      "left": ["workspaces", "clock"],
+      "middle": ["media"],
+      "right": ["volume", "systray", "notifications", "power"]
+    }
+  },
+  "theme.bar.floating": false,
+  "theme.bar.location": "top",
+  "theme.bar.buttons.enableBorders": false,
+  "theme.bar.border.location": "none",
+  "theme.bar.enableShadow": false,
+  "theme.bar.buttons.padding_y": "0rem",
+  "theme.bar.margin_top": "0em",
+  "bar.launcher.autoDetectIcon": true,
+  "theme.bar.buttons.dashboard.enableBorder": false,
+  "bar.workspaces.show_icons": true,
+  "bar.workspaces.show_numbered": false,
+  "bar.workspaces.workspaceMask": false,
+  "bar.workspaces.workspaces": 3,
+  "bar.windowtitle.custom_title": true,
+  "bar.windowtitle.truncation": true,
+  "bar.clock.format": "%d/%m %I:%M%p",
+  "bar.clock.icon": "󰸗",
+  "bar.clock.showIcon": false,
+  "theme.bar.buttons.clock.spacing": "0em",
+  "menus.media.hideAuthor": false,
+  "menus.media.displayTime": false,
+  "theme.bar.shadow": "0px 1px 2px 1px",
+  "theme.bar.shadowMargins": "0px 0px 0px 0px",
+  "theme.font.weight": 600,
+  "theme.font.name": "Hack Nerd Font Propo",
+  "theme.font.label": "Hack Nerd Font Propo Bold",
+  "theme.font.style": "normal",
+  "menus.transition": "crossfade",
+  "scalingPriority": "hyprland",
+  "theme.bar.menus.menu.power.scaling": 75,
+  "menus.clock.weather.enabled": false,
+  "menus.clock.weather.unit": "metric",
+  "menus.dashboard.controls.enabled": true,
+  "menus.dashboard.stats.enable_gpu": false,
+  "menus.dashboard.stats.enabled": false,
+  "menus.dashboard.shortcuts.enabled": false,
+  "menus.dashboard.directories.enabled": false,
+  "menus.dashboard.powermenu.avatar.image": "~/.face.icon",
+  "theme.bar.menus.menu.dashboard.profile.size": "10em",
+  "menus.power.showLabel": false,
+  "theme.bar.buttons.modules.power.enableBorder": false,
+  "bar.customModules.power.icon": "",
+  "theme.bar.background": "#241f31",
+  "theme.bar.transparent": true,
+  "theme.bar.buttons.style": "default",
+  "theme.bar.opacity": 100,
+  "theme.bar.buttons.opacity": 100,
+  "theme.bar.buttons.workspaces.hover": "#b4befe",
+  "theme.bar.buttons.workspaces.available": "#b4befe",
+  "theme.bar.buttons.workspaces.occupied": "#b4befe",
+  "theme.bar.buttons.workspaces.active": "#b4befe",
+  "theme.bar.buttons.workspaces.numbered_active_underline_color": "#b4befe",
+  "theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#b4befe",
+  "theme.bar.buttons.workspaces.border": "#b4befe",
+  "theme.bar.buttons.windowtitle.text": "#b4befe",
+  "theme.bar.buttons.windowtitle.icon": "#b4befe",
+  "theme.bar.buttons.windowtitle.border": "#b4befe",
+  "theme.bar.buttons.volume.text": "#b4befe",
+  "theme.bar.buttons.volume.icon": "#b4befe",
+  "theme.bar.buttons.volume.border": "#b4befe",
+  "theme.bar.buttons.network.text": "#b4befe",
+  "theme.bar.buttons.network.icon": "#b4befe",
+  "theme.bar.buttons.network.border": "#b4befe",
+  "theme.bar.buttons.clock.text": "#b4befe",
+  "theme.bar.buttons.clock.icon": "#b4befe",
+  "theme.bar.buttons.clock.border": "#b4befe",
+  "theme.bar.buttons.monochrome": true,
+  "theme.bar.menus.menu.clock.time.time": "#b4befe",
+  "theme.bar.menus.menu.clock.time.timeperiod": "#b4befe",
+  "theme.bar.menus.menu.clock.calendar.yearmonth": "#b4befe",
+  "theme.bar.menus.menu.clock.calendar.weekdays": "#b4befe",
+  "theme.bar.menus.menu.clock.calendar.paginator": "#b4befe",
+  "theme.bar.menus.menu.clock.calendar.days": "#b4befe",
+  "theme.bar.menus.menu.media.album": "#b4befe",
+  "theme.bar.menus.menu.media.artist": "#b4befe",
+  "theme.bar.menus.menu.media.timestamp": "#b4befe",
+  "theme.bar.menus.menu.media.background.color": "#11111b",
+  "theme.bar.menus.menu.media.border.color": "#313244",
+  "theme.bar.menus.menu.volume.label.color": "#b4befe",
+  "theme.bar.menus.menu.volume.listitems.active": "#eba0ac",
+  "theme.bar.menus.menu.volume.listitems.passive": "#eba0ab",
+  "theme.bar.menus.menu.volume.iconbutton.active": "#b4befe",
+  "theme.bar.menus.menu.volume.iconbutton.passive": "#b4befe",
+  "theme.bar.menus.menu.volume.audio_slider.primary": "#b4befe",
+  "theme.bar.menus.menu.volume.input_slider.primary": "#b4befe",
+  "theme.bar.menus.menu.volume.text": "#b4befe",
+  "notifications.showActionsOnHover": true,
+  "theme.notification.shadowMargins": "1px 1px",
+  "notifications.timeout": 3000,
+  "notifications.autoDismiss": true,
+  "theme.bar.menus.menu.notifications.height": "25em",
+  "theme.bar.margin_sides": "0em",
+  "theme.bar.buttons.separator.margins": "0em",
+  "menus.dashboard.powermenu.confirmation": true,
+  "bar.workspaces.icons.active": "",
+  "bar.workspaces.icons.occupied": "",
+  "bar.workspaces.icons.available": "",
+  "wallpaper.image": "/home/robinhood/dev/downloads/wallpaper.jpg",
+  "theme.osd.enable": false,
+  "menus.volume.raiseMaximumVolume": false,
+  "theme.bar.buttons.workspaces.pill.active_width": "9em",
+  "bar.workspaces.monitorSpecific": false,
+  "bar.workspaces.showWsIcons": false,
+  "bar.workspaces.numbered_active_indicator": "underline",
+  "theme.bar.buttons.workspaces.smartHighlight": true,
+  "theme.bar.buttons.workspaces.pill.radius": "2rem * 0.6",
+  "theme.bar.buttons.workspaces.fontSize": "1em"
+}
.config/rofi/config.rasi
@@ -0,0 +1,1 @@
+@theme "./custom-rasi-theme"
.config/rofi/custom-rasi-template.rasi
@@ -0,0 +1,92 @@
+* {
+    font:   "Hack Nerd Font Propo Regular 13";
+
+    background-color:   transparent;
+    text-color:         @fg0;
+
+    margin:     0px;
+    padding:    0px;
+    spacing:    0px;
+}
+
+window {
+    location:       north;
+    y-offset:       calc(50% - 176px);
+    width:          480;
+    border-radius:  7px;
+
+    background-color:   @bg0;
+}
+
+mainbox {
+    padding:    12px;
+}
+
+inputbar {
+    background-color:   @bg1;
+    border-color:       @bg3;
+
+    border:         1px;
+    border-radius:  7px;
+
+    padding:    8px 16px;
+    spacing:    8px;
+    children:   [ prompt, entry ];
+}
+
+prompt {
+    text-color: @fg2;
+}
+
+entry {
+//    placeholder:        "Search";
+//  placeholder-color:  @fg3;
+}
+
+message {
+    margin:             12px 0 0;
+    border-radius:      5px;
+    border-color:       @bg2;
+    background-color:   @bg2;
+}
+
+textbox {
+    padding:    8px 24px;
+}
+
+listview {
+    background-color:   transparent;
+
+    margin:     12px 0 0;
+    lines:      7;
+    columns:    1;
+
+    fixed-height: true;
+}
+
+element {
+    padding:        8px 16px;
+    spacing:        8px;
+    border-radius:  7px;
+}
+
+element normal active {
+    text-color: @bg3;
+}
+
+element alternate active {
+    text-color: @bg3;
+}
+
+element selected normal, element selected active {
+    background-color:   @bg3;
+}
+
+element-icon {
+    size:           1em;
+    vertical-align: 0.5;
+}
+
+element-text {
+    text-color: inherit;
+}
.config/rofi/custom-rasi-theme.rasi
@@ -0,0 +1,25 @@
+configuration{
+    display-run: "CMD :";
+    display-drun: "Apps :";    
+    display-calc: "Calculate :";
+    drun-display-format: "{icon} {name}";
+    show-icons: true;
+    modi: "run,drun,calc";
+}
+
+* {
+    bg0:    #11111b;
+    bg1:    #11111b;
+    bg2:    #4C566A80;
+    bg3:    #b4befe;
+    fg0:rgba(180, 190, 254, 0.5);
+    fg1:    #ECEFF4;
+    fg2:    #D8DEE9;
+    fg3:    #4C566A;
+}
+
+@import "./custom-rasi-template.rasi"
+
+element selected {
+    text-color: @bg1;
+}