diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 04778f3..1a8d269 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,22 +1,23 @@ -env = LIBVA_DRIVER_NAME,nvidia -env = XDG_SESSION_TYPE,wayland -env = GBM_BACKEND,nvidia-drm -env = __GLX_VENDOR_LIBRARY_NAME,nvidia -env = WLR_NO_HARDWARE_CURSORS,1 - monitor = eDP-1,1920x1080@60,0x0,1 -workspace = eDP-1,1 +#Startup config + +exec-once=waybar +exec-once=swaybg -i ~/Nextcloud/Documents/backgrounds/Alice/purple_cactus_background.png +exec-once=playerctld +exec-once=nm-applet +exec-once=firefox +exec-once=alacritty input { - kb_layout = us + kb_layout = us,pt kb_variant = kb_model = - kb_options = + kb_options = caps:escape , grp:win_space_toggle kb_rules = follow_mouse = 1 touchpad { - natural_scroll = no + natural_scroll = yes } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } @@ -119,16 +120,16 @@ bind = $mainMod, h, resizeactive, -50 0 bind = $mainMod, l, resizeactive, 50 0 # Switch workspaces with mainMod + [0-9] -bind = $mainMod, 1, moveworkspacetomonitor, 1 current -bind = $mainMod, 2, moveworkspacetomonitor, 2 current -bind = $mainMod, 3, moveworkspacetomonitor, 3 current -bind = $mainMod, 4, moveworkspacetomonitor, 4 current -bind = $mainMod, 5, moveworkspacetomonitor, 5 current -bind = $mainMod, 6, moveworkspacetomonitor, 6 current -bind = $mainMod, 7, moveworkspacetomonitor, 7 current -bind = $mainMod, 8, moveworkspacetomonitor, 8 current -bind = $mainMod, 9, moveworkspacetomonitor, 9 current -bind = $mainMod, 0, moveworkspacetomonitor, 10 current +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 diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 9a7f619..fa10860 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,12 +1,6 @@ configuration { - modi: "drun,filebrowser"; font: "FiraCode Nerd Font Mono 16"; show-icons: true; - drun-display-format: "{icon} {name}"; - disable-history: false; - hide-scrollbar: true; - display-drun: " Apps"; - sidebar-mode: true; } @theme "~/.config/rofi/themes/teal.rasi" diff --git a/.config/rofi/themes/teal.rasi b/.config/rofi/themes/teal.rasi index 7581a1f..37e1738 100644 --- a/.config/rofi/themes/teal.rasi +++ b/.config/rofi/themes/teal.rasi @@ -1,112 +1,144 @@ * { - bg-col: #303446; - bg-col-light: #303446; - border-col: #303446; - selected-col: #44475a; - blue: #8caaee; - fg-col: #c6d0f5; - fg-col2: #e78284; - grey: #737994; - - width: 600; - font: "FiraCode Nerd Mono 14"; -} - -element-text, element-icon , mode-switcher { - background-color: inherit; - text-color: inherit; + transparent: #00000000; + foreground: #F2F2F2FF; + background-selected: #F2F2F245; + background-active: #F2F2F230; + background-white: #F2F2F211; + background-black: #00000000; + urgent: #E91E6366; + urgent-selected: #E91E6377; + border-radius: 18px; } window { - height: 360px; - border: 1px; - border-color: black; - background-color: @bg-col; -} - -mainbox { - background-color: @bg-col; -} - -inputbar { - children: [prompt,entry]; - background-color: @bg-col; - border-radius: 5px; - padding: 4px; + background-color: @transparent; + text-color: #6e6a86; + x-offset: 5px; + y-offset: -50px; } prompt { - background-color: @blue; - padding: 6px; - text-color: @bg-col; - border-radius: 3px; - margin: 20px 0px 0px 10px; + enabled: false; } -textbox-prompt-colon { - expand: false; - str: ":"; -} - -entry { - padding: 6px; - margin: 20px 0px 0px 20px; - text-color: @fg-col; - background-color: @bg-col; -} - -listview { - border: 0px 0px 0px; - padding: 6px 0px 6px; - margin: 10px 0px 0px 10px; - columns: 1; - background-color: @bg-col; -} - -element { - padding: 5px; - border-radius:6px; - background-color: @bg-col; - text-color: @fg-col ; -} - -element-icon { - size: 40px; -} - -element selected { - background-color: @selected-col ; - text-color: @fg-col2 ; -} - -mode-switcher { - spacing: 0; - } - button { - padding: 10px; - background-color: @bg-col-light; - text-color: @grey; - vertical-align: 0.5; + action: "ok"; + str: " "; + font: "FiraCode Nerd Font Mono 16"; + expand: false; + text-color: #6e6a86; background-color: @transparent; vertical-align: 0.5; horizontal-align: 0.5; } -button selected { - background-color: @bg-col; - text-color: @blue; +entry { + font: "FiraCode Nerd Font 14"; + background-color: #26233a; + text-color: #6e6a86; + expand: true; + vertical-align: 0.5; + horizontal-align: 0; + placeholder: "Global Search"; + placeholder-color: @foreground; + blink: true; } -message { - background-color: @bg-col-light; - margin: 2px; - padding: 2px; - border-radius: 5px; +entry-wrapper { + orientation: horizontal; + margin: 0 12px 0 12px; + spacing: 24px; + vertical-align: 0.5; + background-color: #26233a; + children: [ button, entry ]; } -textbox { - padding: 6px; - margin: 10px 0px 0px 10px; - text-color: @blue; - background-color: @bg-col-light; +inputbar { + padding: 14px; + background-color: #26233a; + text-color: @foreground; + expand: false; + border-radius: 12px; + position: north; + children: [ entry-wrapper ]; +} + +listview { + background-color: #26233aFB; + padding: 12px 0 12px 0; + spacing: 0; + cycle: true; + dynamic: true; + scrollbar: true; +} + +mainbox { + width: 200px; + expand: true; + spacing: 12px; + padding: 5px; + background-color: @background-black; + children: [ inputbar, listview ]; +} + +scrollbar { + background-color: @background-white; + handle-width: 0; + margin: 0 0 5px 0; + border-radius: 9px; +} + +element { + background-color: @transparent; + text-color: @foreground; + orientation: horizontal; + border: 0; + border-color: @background-white; + border-radius: 9px; + spacing: 24px; + margin: 0px 12px 0px 12px; + padding: 10px 24px 10px 24px; +} + +element-icon { + size: 24px; + border: 0; + border-color: @transparent; + background-color: transparent; +} + +element-text { + font: "FiraCode Nerd Font Mono 12"; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + color: #4AA19B; + background-color: transparent; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 9px; +} + +element normal.active, +element alternate.active { + background-color: @background-active; + text-color: @foreground; +} + +element selected { + background-color: #403d5220; + text-color: @foreground; +} + +element selected.urgent { + background-color: @urgent-selected; + text-color: @foreground; +} + +element selected.active { + background-color: #403d5220; + color: @foreground-selected; }