7 files changed,
398 insertions(+),
23 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2023-11-04 00:15:38 +0200
Parent:
89c7b5d
A
config/dunst/dunstrc
··· 1 +[global] 2 + monitor = 0 3 + follow = mouse 4 + geometry = "250x50-5+30" 5 + indicate_hidden = yes 6 + shrink = no 7 + transparency = 0 8 + notification_height = 0 9 + separator_height = 4 10 + padding = 16 11 + horizontal_padding = 16 12 + frame_width = 2 13 + frame_color = "#1F2324" 14 + separator_color = frame 15 + sort = yes 16 + idle_threshold = 120 17 + font = Roboto 8 18 + line_height = 4 19 + markup = full 20 + format = "<b>%s</b>\n%b" 21 + alignment = left 22 + show_age_threshold = 60 23 + word_wrap = yes 24 + ignore_newline = no 25 + stack_duplicates = false 26 + hide_duplicate_count = false 27 + show_indicators = yes 28 + icon_position = off 29 + always_run_script = true 30 + startup_notification = false 31 + force_xinerama = false 32 + 33 +[urgency_low] 34 + background = "#16161e" 35 + foreground = "#c0caf5" 36 + frame_color = "#c0caf5" 37 + 38 +[urgency_normal] 39 + background = "#1a1b26" 40 + foreground = "#c0caf5" 41 + frame_color = "#c0caf5" 42 + 43 +[urgency_critical] 44 + background = "#292e42" 45 + foreground = "#db4b4b" 46 + frame_color = "#db4b4b"
A
config/hypr/hyprland.conf
··· 1 +# vim: foldmethod=marker ts=2 sw=2 2 + 3 +# https://wiki.hyprland.org/Configuring/Variables/ 4 +# https://wiki.hyprland.org/Configuring/Monitors/ 5 + 6 +monitor=,highres,auto,1 7 + 8 +## variables {{{ 9 +$mod = SUPER 10 +$terminal = kitty 11 +# }}} 12 +## auto start {{{ 13 +exec-once = waybar & 14 +exec-once = hyprpaper & 15 +exec-once = dunst & 16 +exec-once = gsettings set org.gnome.desktop.interface font-name 'JetBrainsMono Nerd Font' & 17 +exec-once = blueman-applet 18 +# }}} 19 +## inputs {{{ 20 +input { 21 + kb_layout = us,ua 22 + kb_variant = 23 + kb_model = 24 + kb_options = grp:win_space_toggle,grp:alt_shift_toggle,ctrl:nocaps 25 + kb_rules = 26 + 27 + follow_mouse = 1 28 + sensitivity = 0.4 # -1.0 - 1.0, 0 means no modification. 29 + 30 + touchpad { 31 + middle_button_emulation = true 32 + } 33 +} 34 +# }}} 35 +## general {{{ 36 +general { 37 + gaps_in = 2 38 + gaps_out = 4 39 + border_size = 2 40 + col.active_border = rgba(7aa2f7aa) 41 + col.inactive_border = rgba(414868aa) 42 + 43 + layout = master # dwindle 44 +} 45 +# }}} 46 +## decorations {{{ 47 +decoration { 48 + rounding = 3 49 + 50 + blur { 51 + enabled = true 52 + size = 3 53 + passes = 1 54 + } 55 + 56 + drop_shadow = true 57 + shadow_range = 4 58 + shadow_render_power = 3 59 + col.shadow = rgba(1a1a1aee) 60 +} 61 +# }}} 62 +## animations {{{ 63 +animations { 64 + enabled = false 65 + 66 + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 67 + animation = windows, 1, 7, myBezier 68 + animation = windowsOut, 1, 7, default, popin 80% 69 + animation = border, 1, 10, default 70 + animation = borderangle, 1, 8, default 71 + animation = fade, 1, 7, default 72 + animation = workspaces, 1, 6, default 73 +} 74 +# }}} 75 +## dwindle layout {{{ 76 +# https://wiki.hyprland.org/Configuring/Dwindle-Layout 77 +dwindle { 78 + pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below 79 + preserve_split = true # you probably want this 80 + no_gaps_when_only = 1 81 +} 82 +# }}} 83 +## master layout {{{ 84 +# https://wiki.hyprland.org/Configuring/Master-Layout 85 +master { 86 + new_is_master = false 87 + no_gaps_when_only = true 88 +} 89 +# }}} 90 +## misc {{{ 91 +misc { 92 + disable_hyprland_logo = true 93 + disable_splash_rendering = true 94 +} 95 +# }}} 96 +## gestures {{{ 97 +gestures { 98 + workspace_swipe = true 99 +} 100 +# }}} 101 +## window rules {{{ 102 +windowrule = workspace 1, title:(Postman) 103 +windowrule = workspace 2, title:(Firefox) 104 +windowrule = workspace 3, title:(kitty|Rider) 105 +windowrule = workspace 4, title:(Logseq|Anki) 106 +windowrule = workspace 5, title:(Telegram|Discord) 107 +# }}} 108 +## keymaps {{{ 109 + bind = $mod SHIFT, Return, exec, wofi --show drun 110 + bind = $mod, Return, exec, $terminal 111 + bind = $mod, q, killactive 112 + bind = $mod SHIFT, Escape, exit 113 + bind = $mod, f, togglefloating, 114 + bind = ,Print,exec,grim 115 + bind = $mod ALT, r, exec, hyprctl reload 116 + 117 + ## sound {{{ 118 + bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+ 119 + bindl = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%- 120 + bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 121 + bindl = , XF86AudioPlay, exec, playerctl play-pause 122 + bindl = , XF86AudioNext, exec, playerctl next 123 + bindl = , XF86AudioPrev, exec, playerctl previous 124 + ## }}} 125 + ## brightness {{{ 126 + bindl = , XF86MonBrightnessUp, exec, brightnessctl set +10% 127 + bindl = , XF86MonBrightnessDown, exec, brightnessctl set 10%- 128 + ## }}} 129 + ## programs {{{ 130 + bind = $mod SHIFT, w, exec, firefox 131 + bind = $mod SHIFT, f, exec, nautlius 132 + ## }}} 133 + ## layout spesific {{{ 134 + bind = $mod, P, pseudo, # dwindle 135 + bind = $mod, J, togglesplit, # dwindle 136 + # }}} 137 + ## wm {{{ 138 + bind = $mod, h, movefocus, l 139 + bind = $mod, j, movefocus, d 140 + bind = $mod, k, movefocus, u 141 + bind = $mod, l, movefocus, r 142 + 143 + # Scroll through existing workspaces with mainMod + scroll 144 + bind = $mod, mouse_down, workspace, e+1 145 + bind = $mod, mouse_up, workspace, e-1 146 + 147 + # Move/resize windows with mainMod + LMB/RMB and dragging 148 + bindm = $mod, mouse:272, movewindow 149 + bindm = $mod, mouse:273, resizewindow 150 + 151 + ## workspaces {{{ 152 + bind = $mod, 1, workspace, 1 153 + bind = $mod, 2, workspace, 2 154 + bind = $mod, 3, workspace, 3 155 + bind = $mod, 4, workspace, 4 156 + bind = $mod, 5, workspace, 5 157 + bind = $mod, 6, workspace, 6 158 + bind = $mod, 7, workspace, 7 159 + bind = $mod, 8, workspace, 8 160 + bind = $mod, 9, workspace, 9 161 + 162 + bind = $mod SHIFT, 1, movetoworkspace, 1 163 + bind = $mod SHIFT, 2, movetoworkspace, 2 164 + bind = $mod SHIFT, 3, movetoworkspace, 3 165 + bind = $mod SHIFT, 4, movetoworkspace, 4 166 + bind = $mod SHIFT, 5, movetoworkspace, 5 167 + bind = $mod SHIFT, 6, movetoworkspace, 6 168 + bind = $mod SHIFT, 7, movetoworkspace, 7 169 + bind = $mod SHIFT, 8, movetoworkspace, 8 170 + bind = $mod SHIFT, 9, movetoworkspace, 9 171 + # }}} 172 +# }}} 173 +# }}}
A
config/hypr/hyprpaper.conf
··· 1 +preload = /home/olex/Pictures/wall.png 2 +wallpaper = ,/home/olex/Pictures/wall.png
M
config/kitty/kitty.conf
··· 39 39 map alt+8 goto_tab 8 40 40 map alt+9 goto_tab 9 41 41 map ctrl+shift+t new_tab_with_cwd 42 +map ctrl+shift+f toggle_fullscreen 42 43 map ctrl+equal change_font_size all +1 43 44 map ctrl+minus change_font_size all -1 44 45 map ctrl+backspace change_font_size all 0
M
config/lazygit/config.yml
··· 2 2 disableStartupPopups: true 3 3 notARepository: "skip" 4 4 promptToReturnFromSubprocess: true 5 - 6 5 gui: 7 - scrollHeight: 8 # how many lines you scroll by 8 - scrollPastBottom: false # enable scrolling past the bottom 9 - sidePanelWidth: .28 10 - expandFocusedSidePanel: true 11 - mainPanelSplitMode: "flexible" # one of 'horizontal' | 'flexible' | 'vertical' 12 - language: "en" 13 - timeFormat: "02 Jan 06 15:04 MST" # https://pkg.go.dev/time#Time.Format 14 - skipUnstageLineWarning: false 15 - skipStashWarning: false 16 - showFileTree: false 17 - showListFooter: false 18 - showRandomTip: false 19 - showBottomLine: false 20 - showCommandLog: true 21 - showIcons: true 22 - 6 + scrollHeight: 8 # how many lines you scroll by 7 + scrollPastBottom: false # enable scrolling past the bottom 8 + sidePanelWidth: .28 9 + expandFocusedSidePanel: true 10 + mainPanelSplitMode: "flexible" # one of 'horizontal' | 'flexible' | 'vertical' 11 + language: "en" 12 + timeFormat: "02 Jan 06 15:04 MST" # https://pkg.go.dev/time#Time.Format 13 + skipDiscardChangeWarning: false 14 + skipStashWarning: false 15 + showFileTree: false 16 + showListFooter: false 17 + showRandomTip: false 18 + showBottomLine: false 19 + showCommandLog: true 20 + showIcons: true 23 21 git: 24 - autoFetch: true 25 - autoRefresh: true 26 - parseEmoji: true 27 - 22 + autoFetch: true 23 + autoRefresh: true 24 + parseEmoji: true 28 25 keybinding: 29 - universal: 30 - jumpToBlock: ["5", "1", "2", "3", "4"] 26 + universal: 27 + jumpToBlock: ["5", "1", "2", "3", "4"]
A
config/waybar/config
··· 1 +// vim: ft=jsonc 2 +{ 3 + "position": "top", 4 + "layer": "top", 5 + "height": 14, 6 + "margin-top": 0, 7 + "margin-bottom": 0, 8 + "margin-left": 0, 9 + "margin-right": 0, 10 + "modules-left": [ 11 + "hyprland/workspaces", 12 + "hyprland/window" 13 + ], 14 + "modules-center": [ 15 + "clock", 16 + "cpu" 17 + ], 18 + "modules-right": [ 19 + "memory", 20 + "tray", 21 + "backlight", 22 + "battery", 23 + "pulseaudio", 24 + "network" 25 + ], 26 + 27 + // modules 28 + "clock": { 29 + "format": " {:%H:%M}", 30 + "tooltip": "true", 31 + "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", 32 + "format-alt": " {:%d/%m}" 33 + }, 34 + 35 + "hyprland/workspaces": { 36 + "active-only": false, 37 + "all-outputs": true, 38 + "disable-scroll": false, 39 + "on-scroll-up": "hyprctl dispatch workspace -1", 40 + "on-scroll-down": "hyprctl dispatch workspace +1", 41 + "format": "{icon}", 42 + "on-click": "activate", 43 + "sort-by-number": true, 44 + "format-icons": { 45 + "urgent": "", 46 + "active": "", 47 + "default": "" 48 + }, 49 + "persistent_workspaces": { "*": 9 } 50 + }, 51 + 52 + "hyprland/window": { "max-length": "40" }, 53 + 54 + "battery": { 55 + "states": { 56 + "good": 95, 57 + "warning": 30, 58 + "critical": 15 59 + }, 60 + "format":"{icon} {capacity}%", 61 + "format-charging":"{icon} {capacity}%", 62 + "format-plugged": "{capacity}% ", 63 + "format-alt": "{icon} {time}", 64 + "format-icons": ["", "", "", "", ""] 65 + }, 66 + 67 + "memory": { 68 + "format": " {used}%", 69 + "interval": 5 70 + }, 71 + 72 + "cpu": { 73 + "format": " {usage}%", 74 + "format-alt": " {avg_frequency} GHz", 75 + "interval": 5 76 + }, 77 + 78 + "network": { 79 + "format-wifi": " {essid}", 80 + "format-linked": " {ifname} (No IP)", 81 + "format-disconnected": "", 82 + "format-alt": " {ifname}: {ipaddr}/{cidr}", 83 + "tooltip-format": "{essid}", 84 + "on-click-right": "nm-connection-editor" 85 + }, 86 + 87 + "tray": { 88 + "icon-size": 16, 89 + "spacing": 5 90 + }, 91 + 92 + "backlight": { 93 + "format": "{icon} {percent}%", 94 + "format-icons": ["", "", "", "", "", "", "", "", ""], 95 + "on-scroll-up": "brightnessctl set +10%", 96 + "on-scroll-down": "brightnessctl set 10%-" 97 + }, 98 + 99 + "pulseaudio": { 100 + "format": "{icon} {volume}%", 101 + "format-muted": "", 102 + "format-icons": { "default": ["", "", ""] }, 103 + "on-scroll-up": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+", 104 + "on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-" 105 + } 106 +}
A
config/waybar/style.css
··· 1 +@define-color bg-color #1a1b26; 2 +@define-color bg-darker-color #15161e; 3 +@define-color fg-color #c0caf5; 4 +@define-color active-bg-color #7aa2f7; 5 +@define-color active-fg-color #16161e; 6 +@define-color inactive-bg-color #292e42; 7 +@define-color inactive-fg-color #545c7e; 8 +@define-color green #73daca; 9 +@define-color red #db4b4b; 10 + 11 +* { 12 + border: none; 13 + border-radius: 0px; 14 + font-family: Jetbrains Mono Nerd Font; 15 + font-size: 14px; 16 + font-style: normal; 17 + min-height: 0; 18 +} 19 + 20 +window#waybar { 21 + background: @bg-color; 22 + border-bottom: 2px solid @inactive-bg-color; 23 + color: @fg-color; 24 +} 25 + 26 +#cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight { 27 + background-color: @bg-darker-color; 28 + color: @fg-color; 29 + border-radius: 16px; 30 + margin: 5px 5px 5px 5px; 31 + padding: 0px 10px 0px 10px; 32 +} 33 + 34 +#workspaces button { color: @inactive-fg-color; } 35 +#workspaces button.active { 36 + color: @active-bg-color; 37 + background-color: transparent; 38 + border-radius: 16px; 39 +} 40 + 41 +#workspaces button:hover { 42 + background-color: @active-bg-color; 43 + border-radius: 16px; 44 + color: black; 45 +} 46 + 47 +#clock { font-weight: bold; } 48 +#battery.charging { color: @green; } 49 +#battery.warning:not(.charging) { color: @red; } 50 +#pulseaudio.muted { color: @red; }