diff --git a/hyprland/btop/btop.conf b/hyprland/btop/btop.conf new file mode 100644 index 0000000..dbe97a5 --- /dev/null +++ b/hyprland/btop/btop.conf @@ -0,0 +1,212 @@ +#? Config file for btop v. 1.2.13 + +#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. +#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" +color_theme = "tokyo-night" + +#* If the theme set background should be shown, set to False if you want terminal background transparency. +theme_background = false + +#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. +truecolor = True + +#* Set to true to force tty mode regardless if a real tty has been detected or not. +#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. +force_tty = False + +#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. +#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. +#* Use whitespace " " as separator between different presets. +#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" +presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" + +#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. +#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. +vim_keys = False + +#* Rounded corners on boxes, is ignored if TTY mode is ON. +rounded_corners = True + +#* Default symbols to use for graph creation, "braille", "block" or "tty". +#* "braille" offers the highest resolution but might not be included in all fonts. +#* "block" has half the resolution of braille but uses more common characters. +#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. +#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. +graph_symbol = "braille" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_cpu = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_mem = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_net = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_proc = "default" + +#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace. +shown_boxes = "cpu mem net proc" + +#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. +update_ms = 2000 + +#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", +#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. +proc_sorting = "user" + +#* Reverse sorting order, True or False. +proc_reversed = False + +#* Show processes as a tree. +proc_tree = False + +#* Use the cpu graph colors in the process list. +proc_colors = True + +#* Use a darkening gradient in the process list. +proc_gradient = True + +#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. +proc_per_core = False + +#* Show process memory as bytes instead of percent. +proc_mem_bytes = True + +#* Show cpu graph for each process. +proc_cpu_graphs = True + +#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) +proc_info_smaps = False + +#* Show proc box on left side of screen instead of right. +proc_left = False + +#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). +proc_filter_kernel = False + +#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_upper = "total" + +#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_lower = "total" + +#* Toggles if the lower CPU graph should be inverted. +cpu_invert_lower = True + +#* Set to True to completely disable the lower CPU graph. +cpu_single_graph = False + +#* Show cpu box at bottom of screen instead of top. +cpu_bottom = False + +#* Shows the system uptime in the CPU box. +show_uptime = True + +#* Show cpu temperature. +check_temp = True + +#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. +cpu_sensor = "Auto" + +#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. +show_coretemp = True + +#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. +#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. +#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. +#* Example: "4:0 5:1 6:3" +cpu_core_map = "" + +#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". +temp_scale = "celsius" + +#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. +base_10_sizes = False + +#* Show CPU frequency. +show_cpu_freq = True + +#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. +#* Special formatting: /host = hostname | /user = username | /uptime = system uptime +clock_format = "%X" + +#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. +background_update = True + +#* Custom cpu model name, empty string to disable. +custom_cpu_name = "" + +#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". +#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". +disks_filter = "" + +#* Show graphs instead of meters for memory values. +mem_graphs = True + +#* Show mem box below net box instead of above. +mem_below_net = False + +#* Count ZFS ARC in cached and available memory. +zfs_arc_cached = True + +#* If swap memory should be shown in memory box. +show_swap = True + +#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. +swap_disk = True + +#* If mem box should be split to also show disks info. +show_disks = True + +#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. +only_physical = True + +#* Read disks list from /etc/fstab. This also disables only_physical. +use_fstab = True + +#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) +zfs_hide_datasets = False + +#* Set to true to show available disk space for privileged users. +disk_free_priv = False + +#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. +show_io_stat = True + +#* Toggles io mode for disks, showing big graphs for disk read/write speeds. +io_mode = False + +#* Set to True to show combined read/write io graphs in io mode. +io_graph_combined = False + +#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". +#* Example: "/mnt/media:100 /:20 /boot:1". +io_graph_speeds = "" + +#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. +net_download = 100 + +net_upload = 100 + +#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. +net_auto = True + +#* Sync the auto scaling for download and upload to whichever currently has the highest scale. +net_sync = True + +#* Starts with the Network Interface specified here. +net_iface = "" + +#* Show battery stats in top right if battery is present. +show_battery = True + +#* Which battery to use if multiple are present. "Auto" for auto detection. +selected_battery = "Auto" + +#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". +#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. +log_level = "WARNING" diff --git a/hyprland/btop/tokyo-night.theme b/hyprland/btop/tokyo-night.theme new file mode 100644 index 0000000..b6fd0ba --- /dev/null +++ b/hyprland/btop/tokyo-night.theme @@ -0,0 +1,81 @@ +# Theme: tokyo-night +# By: Pascal Jaeger + +# Main bg +theme[main_bg]="#000000" + +# Main text color +theme[main_fg]="#cfc9c2" + +# Title color for boxes +theme[title]="#cfc9c2" + +# Higlight color for keyboard shortcuts +theme[hi_fg]="#7dcfff" + +# Background color of selected item in processes box +theme[selected_bg]="#414868" + +# Foreground color of selected item in processes box +theme[selected_fg]="#cfc9c2" + +# Color of inactive/disabled text +theme[inactive_fg]="#565f89" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="#7dcfff" + +# Cpu box outline color +theme[cpu_box]="#565f89" + +# Memory/disks box outline color +theme[mem_box]="#565f89" + +# Net up/down box outline color +theme[net_box]="#565f89" + +# Processes box outline color +theme[proc_box]="#565f89" + +# Box divider line and small boxes line color +theme[div_line]="#565f89" + +# Temperature graph colors +theme[temp_start]="#9ece6a" +theme[temp_mid]="#e0af68" +theme[temp_end]="#f7768e" + +# CPU graph colors +theme[cpu_start]="#9ece6a" +theme[cpu_mid]="#e0af68" +theme[cpu_end]="#f7768e" + +# Mem/Disk free meter +theme[free_start]="#9ece6a" +theme[free_mid]="#e0af68" +theme[free_end]="#f7768e" + +# Mem/Disk cached meter +theme[cached_start]="#9ece6a" +theme[cached_mid]="#e0af68" +theme[cached_end]="#f7768e" + +# Mem/Disk available meter +theme[available_start]="#9ece6a" +theme[available_mid]="#e0af68" +theme[available_end]="#f7768e" + +# Mem/Disk used meter +theme[used_start]="#9ece6a" +theme[used_mid]="#e0af68" +theme[used_end]="#f7768e" + +# Download graph colors +theme[download_start]="#9ece6a" +theme[download_mid]="#e0af68" +theme[download_end]="#f7768e" + +# Upload graph colors +theme[upload_start]="#9ece6a" +theme[upload_mid]="#e0af68" +theme[upload_end]="#f7768e" diff --git a/hyprland/hypr/configs/ENVariables.conf b/hyprland/hypr/configs/ENVariables.conf new file mode 100644 index 0000000..ad81709 --- /dev/null +++ b/hyprland/hypr/configs/ENVariables.conf @@ -0,0 +1,23 @@ +#environment-variables +env = QT_QPA_PLATFORMTHEME,qt5ct #necessary to run qt5ct properly +env = GDK_BACKEND,wayland,x11 +env = QT_QPA_PLATFORM,wayland;xcb +env = CLUTTER_BACKEND,wayland +env = XDG_CURRENT_DESKTOP,Hyprland +env = XDG_SESSION_DESKTOP,Hyprland +env = QT_AUTO_SCREEN_SCALE_FACTOR,1 +env = XDG_SESSION_TYPE,wayland +env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 + +# NVIDIA +# This is from Hyprland Wiki but my Hyprland keeps crashing when I enabled this variables +#env = WLR_NO_HARDWARE_CURSORS,1 +#env = LIBVA_DRIVER_NAME,nvidia +#env = MOZ_ENABLE_WAYLAND,1 +#env = XDG_SESSION_TYPE,wayland +#env = __GLX_VENDOR_LIBRARY_NAME,nvidia +#env = GBM_BACKEND,nvidia-drm ## it causes issues like Hyprland crashing so care +#env = __NV_PRIME_RENDER_OFFLOAD,1 +#env = __VK_LAYER_NV_optimus,NVIDIA_only +#env = WLR_DRM_NO_ATOMIC,1 +#env = NVD_BACKEND,direct \ No newline at end of file diff --git a/hyprland/hypr/configs/Execs.conf b/hyprland/hypr/configs/Execs.conf new file mode 100644 index 0000000..b1595be --- /dev/null +++ b/hyprland/hypr/configs/Execs.conf @@ -0,0 +1,28 @@ +#Commands to be executed at launch +$scriptsDir = $HOME/.config/hypr/scripts + +# wallpaper stuff +#exec-once = swww query || swww init && swww img $HOME/wallpaper.jpg #using swww utility +#exec-once = swww init +exec-once = swaybg -m fill -i $HOME/wallpaper.jpg #using swaybg +#exec-once = $scriptsDir/Wallpaper.sh #using swaybg random wallpaper + +# Startup +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +#exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY +exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP + +exec-once = $scriptsDir/portal-arch-hyprland +exec-once = /usr/lib/polkit-kde-authentication-agent-1 + +# apps, blueman, network manager applet and ROG-control-Center +exec-once = $scriptsDir/Startup.sh +exec-once = blueman-applet & +exec-once = nm-applet --indicator & +#exec-once = rog-control-center & + +#clipboard manager +exec-once = wl-paste --watch cliphist store + +#Syncthing +exec-once = $scriptsDir/syncthing.sh diff --git a/hyprland/hypr/configs/Keybinds.conf b/hyprland/hypr/configs/Keybinds.conf new file mode 100644 index 0000000..a2e3385 --- /dev/null +++ b/hyprland/hypr/configs/Keybinds.conf @@ -0,0 +1,199 @@ +# See https://wiki.hyprland.org/Configuring/Keywords/ for more +# Setting variables +$mainMod = SUPER +$files = thunar +$browser = firefox +$term = kitty +$hyprDir = $HOME/.config/hypr +$scriptsDir = $HOME/.config/hypr/scripts + +# Scripts +$Mako = $scriptsDir/Mako.sh +$screenshot = $scriptsDir/ScreenShot.sh +$volume = $scriptsDir/Volume.sh +$waybar = $scriptsDir/Waybar.sh +$Wofi = $scriptsDir/Wofi.sh +$Clipboard = $scriptsDir/ClipManager.sh + +# see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod SHIFT, C, exec, hyprctl reload +bind = $mainMod, D, exec, $Wofi +bind = $mainMod SHIFT, Q, killactive, +bind = $mainMod SHIFT, Space, togglefloating, +bind = $mainMod, F, fullscreen +bind = $mainMod, Q, killactive, +bind = $mainMod, Return, exec, $term +bind = $mainMod, T, exec, $files + +#bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.3 +#bind = $mainMod SHIFT, Y, exec, $term --class clock -T clock -e tty-clock -c -C 7 -r -s -f "%A, %B, %d" + +bind = $mainMod CTRL, D, layoutmsg, removemaster +bind = $mainMod, Escape, exec, hyprctl kill +bind = $mainMod, I, layoutmsg, addmaster +bind = $mainMod, J, layoutmsg, cyclenext +bind = $mainMod, K, layoutmsg, cycleprev +bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3 +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster +bind = $mainMod ALT, V, exec, $Clipboard + +# Special Keys / Hot Keys +bind = , xf86audioraisevolume, exec, $volume --inc #volume up +bind = , xf86audiolowervolume, exec, $volume --dec #volume down +bind = , xf86AudioMicMute, exec, $volume --toggle-mic #mute mic +bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button +bind = , xf86audiomute, exec, $volume --toggle #FN+F1 + +bind = , xf86audioplay, exec, playerctl play-pause +bind = , xf86audionext, exec, playerctl next +bind = , xf86audioprev, exec, playerctl previous +bind = , xf86audiostop, exec, playerctl stop + +# From manual but it does not work +#bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 2560x1440@165, 0x0, 1" +#bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" + +# Resize (vim style) +binde = $mainMod SHIFT, H, resizeactive,-50 0 +binde = $mainMod SHIFT, L, resizeactive,50 0 +binde = $mainMod SHIFT, K, resizeactive,0 -50 +binde = $mainMod SHIFT, J, resizeactive,0 50 + +binde = $mainMod SHIFT, left, resizeactive,-50 0 +binde = $mainMod SHIFT, right, resizeactive,50 0 +binde = $mainMod SHIFT, up, resizeactive,0 -50 +binde = $mainMod SHIFT, down, resizeactive,0 50 + +# Move (vim style) +bind = $mainMod CTRL, H, movewindow, l +bind = $mainMod CTRL, L, movewindow, r +bind = $mainMod CTRL, K, movewindow, u +bind = $mainMod CTRL, J, movewindow, d + +bind = $mainMod CTRL, left, movewindow, l +bind = $mainMod CTRL, right, movewindow, r +bind = $mainMod CTRL, up, movewindow, u +bind = $mainMod CTRL, down, movewindow, d + + +# 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 + +# Special workspace +bind = $mainMod SHIFT, U, movetoworkspace, special +bind = $mainMod, U, togglespecialworkspace, + +# 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 + +bind = $mainMod, KP_End, workspace, 1 +bind = $mainMod, KP_Down, workspace, 2 +bind = $mainMod, KP_Next, workspace, 3 +bind = $mainMod, KP_Left, workspace, 4 +bind = $mainMod, KP_Begin, workspace, 5 +bind = $mainMod, KP_Right, workspace, 6 +bind = $mainMod, KP_Home, workspace, 7 +bind = $mainMod, KP_Up, workspace, 8 +bind = $mainMod, KP_Prior, workspace, 9 +bind = $mainMod, KP_Insert, workspace, 10 + +# Move active window and follow to workspace +bind = $mainMod CTRL, 1, movetoworkspace, 1 +bind = $mainMod CTRL, 2, movetoworkspace, 2 +bind = $mainMod CTRL, 3, movetoworkspace, 3 +bind = $mainMod CTRL, 4, movetoworkspace, 4 +bind = $mainMod CTRL, 5, movetoworkspace, 5 +bind = $mainMod CTRL, 6, movetoworkspace, 6 +bind = $mainMod CTRL, 7, movetoworkspace, 7 +bind = $mainMod CTRL, 8, movetoworkspace, 8 +bind = $mainMod CTRL, 9, movetoworkspace, 9 +bind = $mainMod CTRL, 0, movetoworkspace, 10 + +bind = $mainMod CTRL, KP_End, movetoworkspace, 1 +bind = $mainMod CTRL, KP_Down, movetoworkspace, 2 +bind = $mainMod CTRL, KP_Next, movetoworkspace, 3 +bind = $mainMod CTRL, KP_Left, movetoworkspace, 4 +bind = $mainMod CTRL, KP_Begin, movetoworkspace, 5 +bind = $mainMod CTRL, KP_Right, movetoworkspace, 6 +bind = $mainMod CTRL, KP_Home, movetoworkspace, 7 +bind = $mainMod CTRL, KP_Up, movetoworkspace, 8 +bind = $mainMod CTRL, KP_Prior, movetoworkspace, 9 +bind = $mainMod CTRL, KP_Insert, movetoworkspace, 10 + +bind = $mainMod CTRL, bracketleft, movetoworkspace, -1 +bind = $mainMod CTRL, bracketright, movetoworkspace, +1 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 +bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 +bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 +bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 +bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 +bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 +bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 +bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 +bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 +bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 + +bind = $mainMod SHIFT, KP_End, movetoworkspacesilent, 1 +bind = $mainMod SHIFT, KP_Down, movetoworkspacesilent, 2 +bind = $mainMod SHIFT, KP_Next, movetoworkspacesilent, 3 +bind = $mainMod SHIFT, KP_Left, movetoworkspacesilent, 4 +bind = $mainMod SHIFT, KP_Begin, movetoworkspacesilent, 5 +bind = $mainMod SHIFT, KP_Right, movetoworkspacesilent, 6 +bind = $mainMod SHIFT, KP_Home, movetoworkspacesilent, 7 +bind = $mainMod SHIFT, KP_Up, movetoworkspacesilent, 8 +bind = $mainMod SHIFT, KP_Prior, movetoworkspacesilent, 9 +bind = $mainMod SHIFT, KP_Insert, movetoworkspacesilent, 10 + +bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1 +bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1 + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 +bind = $mainMod, period, workspace, e+1 +bind = $mainMod, comma, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +bind = $mainMod, G, togglegroup +bind = $mainMod, tab, workspace, m+1 +bind = $mainMod SHIFT, tab, workspace, m-1 +bind = ALT, tab, cyclenext, # change focus to another window +bind = ALT SHIFT, tab, bringactivetotop, # bring it to the top + + +# Screenshot keybindings NOTE: +#bind = , Print, exec, $screenshot --now +bind = $mainMod, Print, exec, $screenshot --now +bind = $mainMod CTRL SHIFT, Print, exec, $screenshot --in5 +bind = $mainMod ALT, Print, exec, $screenshot --in10 +#bind = CTRL, Print, exec, $screenshot --win +#bind = SHIFT, Print, exec, $screenshot --area +bind = $mainMod SHIFT, Print, exec, $screenshot --area + +# screenshot with swappy +bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f - + +# Screenshot keybindings for Asus G15 (no PrinSrc button) +bind = $mainMod, F6, exec, $screenshot --now +bind = $mainMod SHIFT, F6, exec, $screenshot --area +bind = $mainMod CTRL SHIFT, F6, exec, $screenshot --in5 +bind = $mainMod ALT, F6, exec, $screenshot --in10 + diff --git a/hyprland/hypr/configs/Monitors.conf b/hyprland/hypr/configs/Monitors.conf new file mode 100644 index 0000000..85f5724 --- /dev/null +++ b/hyprland/hypr/configs/Monitors.conf @@ -0,0 +1,27 @@ +# Monitor Configuration +# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. + +# Monitors +monitor=DP-1,2560x1440@144,0x0,1 +monitor=DP-2,2560x1440@144,auto,1 + +# my G15 Laptop +# monitor = eDP-1, preferred, auto, 1 +#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen +#monitor = DP-2, preferred, auto, 1 #my Samsung Odyssey-G7 +#monitor = DP-1, preferred, auto, 1 +#monitor = HDMI-A-1, preferred,auto,1 + +# QEMU +monitor = Virtual-1, 1920x1080@60,auto,1 + +# Example : +#monitor=eDP-1,2560x1440@165,0x0,1 +#workspace=HDMI-A-1,1 +#monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1 +#workspace=HDMI-A-2,2 + +#monitor=eDP-1,transform,0 +#monitor=eDP-1,addreserved,10,10,10,49 +#workspace=eDP-1,1 + diff --git a/hyprland/hypr/configs/WindowRules.conf b/hyprland/hypr/configs/WindowRules.conf new file mode 100644 index 0000000..7767b64 --- /dev/null +++ b/hyprland/hypr/configs/WindowRules.conf @@ -0,0 +1,39 @@ +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more + +windowrule = float, org.kde.polkit-kde-authentication-agent-1 +windowrule = float, nm-connection-editor|blueman-manager +windowrule = float, swayimg|vlc|Viewnior|pavucontrol +windowrule = float, nwg-look|qt5ct|mpv +windowrule = float, onedriver|onedriver-launcher +windowrule = float, zoom +windowrule = float, wofi +windowrule=tile,lite-xl +windowrule = fullscreen, wlogout +#windowrule = noblur,gamescope +#windowrule = fullscreen,gamescope +#windowrule = workspace 6 silent,^(gamescope)$ + +# windowrule v2 +#windowrulev2 = workspace 2, class:^(firefox)$ +#windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ #this is on arch +#windowrulev2 = workspace 3, class:^(thunar)$ +#windowrulev2 = workspace 1, class:^(thunderbird)$ +#windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ +#windowrulev2 = workspace 5 silent, class:^(Steam)$,title:^(Steam)$ +#windowrulev2 = workspace 5 silent, class:^(lutris)$ +#windowrulev2 = workspace 6, class:^(virt-manager)$ +#windowrulev2 = workspace 7 silent, class:^(discord)$ +#windowrulev2 = workspace 9 silent, class:^(audacious)$ + +#opacity (transparent) #enable as desired +#windowrulev2 = opacity 1 0.9, class:^(firefox)$ +#windowrulev2 = opacity 0.9 0.7, class:^(thunar)$ +#windowrulev2 = opacity 0.7 0.7, class:^(foot)$ +#windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$ +#windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$ +#windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$ + +#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1 +#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1 +#windowrulev2 = opacity 0.8 0.8, pinned:1 + diff --git a/hyprland/hypr/hyprland.conf b/hyprland/hypr/hyprland.conf new file mode 100644 index 0000000..3356d67 --- /dev/null +++ b/hyprland/hypr/hyprland.conf @@ -0,0 +1,134 @@ +# Refer to the wiki for more information. +# See https://wiki.hyprland.org/Configuring/Variables/ for more + +#Sourcing external config files +source=~/.config/hypr/configs/ENVariables.conf +source=~/.config/hypr/configs/Execs.conf +source=~/.config/hypr/configs/Keybinds.conf +source=~/.config/hypr/configs/Monitors.conf +source=~/.config/hypr/configs/WindowRules.conf + +general { + sensitivity=1.00 + apply_sens_to_raw=1 + gaps_in = 4 + gaps_out = 8 + border_size = 4 + resize_on_border = true + + #one color + #col.active_border = rgba(7aa2f7aa) + + #more colors - gradient + col.active_border = rgb(5AE058) rgb(3FB5A3) 45deg + #col.active_border = rgb(7287fd) rgb(74c7ec) rgb(89b4fa) 45deg + col.inactive_border = rgb(000000) + + layout = master # master or dwindle +} + +input { + kb_layout=ca + kb_variant= + kb_model= + kb_options=grp:alt_shift_toggle + kb_rules= + repeat_rate=50 + repeat_delay=300 + numlock_by_default=0 + left_handed=0 + follow_mouse=1 + float_switch_override_focus=0 + + touchpad { + disable_while_typing=1 + natural_scroll=1 + clickfinger_behavior=0 + middle_button_emulation=1 + tap-to-click=1 + drag_lock=1 + } +} + +gestures { + workspace_swipe=1 + workspace_swipe_fingers=3 + workspace_swipe_distance=400 + workspace_swipe_invert=1 + workspace_swipe_min_speed_to_force=30 + workspace_swipe_cancel_ratio=0.5 + workspace_swipe_create_new=1 + workspace_swipe_forever=1 +} + +decoration { + rounding = 6 + multisample_edges = true + #blur = yes + #blur_size = 8 + #blur_passes = 2 + #blur_new_optimizations = on + + active_opacity = 1.0 + inactive_opacity = 0.7 + fullscreen_opacity = 1.0 + + dim_inactive = true + dim_strength = 0.1 + + + drop_shadow=true + shadow_range=10 + shadow_render_power = 2 + col.shadow = rgb(7ef788) + col.shadow_inactive = 0x50000000 +} + +#blurls = waybar + +bezier = wind, 0.05, 0.9, 0.1, 1.05 +bezier = winIn, 0.1, 1.1, 0.1, 1.1 +bezier = winOut, 0.3, -0.3, 0, 1 +bezier = liner, 1, 1, 1, 1 + +animations { + enabled = yes + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop + animation = fade, 1, 10, default + animation = workspaces, 1, 5, wind + animation = windows, 1, 6, wind, slide +} + +dwindle { + pseudotile = yes + preserve_split = yes + special_scale_factor = 0.8 +} + +master { + new_is_master=1 + new_on_top=0 + mfact = 0.5 + +} + +binds { + workspace_back_and_forth=1 + allow_workspace_cycles=1 + pass_mouse_when_bound=0 +} + +misc { + disable_hyprland_logo = true + disable_splash_rendering = true + mouse_move_enables_dpms = true + vrr = 2 + enable_swallow = true + no_direct_scanout = true #for fullscreen games + focus_on_activate = false + swallow_regex = ^(kitty)$ +} diff --git a/hyprland/hypr/hyprlandnew.conf b/hyprland/hypr/hyprlandnew.conf new file mode 100644 index 0000000..44e6795 --- /dev/null +++ b/hyprland/hypr/hyprlandnew.conf @@ -0,0 +1,179 @@ +exec-once = wl-clipboard-history -t +exec-once = ~/.config/hypr/scripts/.autostart +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = /usr/lib/polkit-kde-authentication-agent-1 +exec-once = swaybg -m fill -i $HOME/Pictures/wallpapers/nostalgic-memories5.jpg +exec-once = waybar + +# env = LIBVA_DRIVER_NAME, nvidia +env = XDG_SESSION_TYPE, wayland +env = __GL_GSYNC_ALLOWED, 0 +# env = __GLX_VENDOR_LIBRARY_NAME, nvidia +# env = GBM_BACKEND, nvidia-drm +env = WLR_NO_HARDWARE_CURSORS, 1 +env = XCURSOR_THEME, Breeze +env = XCURSOR_SIZE, 16 + +$browser = firefox +$explorer = thunar +$term = kitty +$discord = discord + +monitors { + # you can use the command 'hyprctl monitors' to list your currently using monitors. + # use wlr-randr to list all available monitors + # more examples at https://wiki.hyprland.org/Configuring/Monitors/ + + # left monitor + # monitor = HDMI-A-1, 1920x1080@60, 0x0, 1 + + # right monitor + monitor = eDP-1, 1920x1200@60, 1920x0, 1.1 +} + +input { + kb_layout = us, br # keyboard layout en-us and pt-br + kb_options = grp:alt_shift_toggle # toggle between keyboard layouts using ALT + SHIFT + follow_mouse = 1 + sensitivity = -0.2 # -1.0 - 1.0, 0 means no modification. +} + +general { + # gaps + gaps_in=3 + gaps_out=6 + + # border + border_size=2 + col.active_border=0xff2aabd4 0xff2bc1ae 0deg + col.inactive_border=0xfff4564 + no_border_on_floating = true + + # layout + layout = dwindle +} + +dwindle { + no_gaps_when_only = false + pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # you probably want this +} + +misc { + disable_hyprland_logo = true + disable_splash_rendering = true + mouse_move_enables_dpms = true + enable_swallow = true + swallow_regex = ^(kitty)$ +} + +decoration { + # border + rounding = 2 + multisample_edges = true + + # opacity + active_opacity = 0.85 + inactive_opacity = 0.80 + + # blur + blur { + enabled = true + size = 8 + passes = 2 + new_optimizations = true + } + + # shadow + drop_shadow = true + shadow_ignore_window = true + shadow_offset = 4 4 + shadow_range = 10 + shadow_render_power = 2 + col.shadow = 0x66000000 + + blurls = gtk-layer-shell + blurls = lockscreen +} + +animations { + enabled = true + + bezier = overshot,0.05,0.9,0.1,1.1 + bezier = smoothOut, 0.36, 0, 0.66, -0.56 + bezier = smoothIn, 0.25, 1, 0.5, 1 + bezier = linear, 0.5, 0.5, 0.5, 0.5 + + animation = windows, 1, 2, overshot, popin + animation = windowsIn, 1, 4, smoothIn, popin + animation = windowsOut, 1, 4, smoothIn, popin + animation = windowsMove, 1, 4, default, popin + + animation = border, 1, 10, default + animation = fade, 1, 10, smoothIn + animation = fadeDim, 1, 10, smoothIn + + animation = workspaces, 1, 4, smoothIn, slide + + animation = borderangle, 1, 20, linear, loop +} + +windowrules { + # opacity + windowrule = opacity 1.0 override 1.0 override, ^(com.obsproject.Studio)$ + windowrule = opacity 1.0 override 1.0 override, ^(com.stremio.stremio)$ + windowrule = opacity 1.0 override 1.0 override, ^(libreoffice-writer)$ + windowrule = opacity 1.0 override 1.0 override, ^(discord)$ + windowrule = opacity 1.0 override 1.0 override, ^(feh)$ + windowrule = opacity 1.0 override 1.0 override, ^(firefox)$ + windowrule = opacity 1.0 override 1.0 override, ^(Google-chrome)$ + windowrule = opacity 1.0 override 1.0 override, ^(Gimp)$ + windowrule = opacity 1.0 override 1.0 override, ^(mpv)$ + windowrule = opacity 1.0 override 1.0 override, ^(Rofi)$ + + # float + windowrule = float, confirm + windowrule = float, confirmreset + windowrule = float, dialog + windowrule = float, download + windowrule = float, error + windowrule = float, feh + windowrule = float, file_progress + windowrule = float, file-roller + windowrule = float, Lxappearance + windowrule = float, notification + windowrule = float, splash + windowrule = float, xfce4-appearance-settings + windowrule = float, title:branchdialog + windowrule = float, title:^(btop)$ + windowrule = float, title:^(Media viewer)$ + windowrule = float, title:^(Network Connections)$ + windowrule = float, title:Open File + windowrule = float, title:^(Volume Control)$ + + # fullscreen + windowrule = fullscreen, wlogout + + # idleinhibit + windowrule = idleinhibit focus, mpv + windowrule = idleinhibit fullscreen, $browser + + # size + windowrule = size 400 600, title:^(Network Connections)$ + windowrule = size 980 530, title:^(btop)$ + windowrule = size 900 400, title:^(Volume Control)$ + windowrule = size 1280 720, title:^(feh)$ + + # move + windowrule = move 3% 35, title:^(btop)$ + windowrule = move 70% 35, title:^(Network Connections)$ + windowrule = move 45% 35, title:^(Volume Control)$ + + # animations + windowrule = animation slide, title:^(btop)$ + windowrule = animation slide, title:^(Network Connections)$ + windowrule = animation slide, title:^(Volume Control)$ + windowrule = animation slide, title:^(Logout)$ +} + diff --git a/hyprland/hypr/scripts/ClipManager.sh b/hyprland/hypr/scripts/ClipManager.sh new file mode 100755 index 0000000..27fda38 --- /dev/null +++ b/hyprland/hypr/scripts/ClipManager.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# WOFI STYLES +CONFIG="$HOME/.config/wofi/WofiBig/config" +STYLE="$HOME/.config/wofi/style.css" + +if [[ ! $(pidof wofi) ]]; then + cliphist list | wofi --show dmenu --prompt 'Search...' \ + --conf ${CONFIG} --style ${STYLE} \ + --width=600 --height=400 | cliphist decode | wl-copy +else + pkill wofi +fi diff --git a/hyprland/hypr/scripts/LockScreen.sh b/hyprland/hypr/scripts/LockScreen.sh new file mode 100755 index 0000000..538b6ef --- /dev/null +++ b/hyprland/hypr/scripts/LockScreen.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +CONFIG="$HOME/.config/swaylock/config" + +sleep 0.5s; swaylock --config ${CONFIG} & disown diff --git a/hyprland/hypr/scripts/Mako.sh b/hyprland/hypr/scripts/Mako.sh new file mode 100755 index 0000000..27f0634 --- /dev/null +++ b/hyprland/hypr/scripts/Mako.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +CONFIG="$HOME/.config/mako/config" + +if [[ ! $(pidof mako) ]]; then + mako --config ${CONFIG} +fi diff --git a/hyprland/hypr/scripts/PortalHyprlandArch.sh b/hyprland/hypr/scripts/PortalHyprlandArch.sh new file mode 100755 index 0000000..8f692bf --- /dev/null +++ b/hyprland/hypr/scripts/PortalHyprlandArch.sh @@ -0,0 +1,8 @@ +#!/bin/bash +sleep 1 +killall xdg-desktop-portal-hyprland +killall xdg-desktop-portal-wlr +killall xdg-desktop-portal +/usr/lib/xdg-desktop-portal-hyprland & +sleep 2 +/usr/lib/xdg-desktop-portal & diff --git a/hyprland/hypr/scripts/ScreenShot.sh b/hyprland/hypr/scripts/ScreenShot.sh new file mode 100755 index 0000000..fc2fc70 --- /dev/null +++ b/hyprland/hypr/scripts/ScreenShot.sh @@ -0,0 +1,80 @@ +#!/bin/bash + +iDIR="$HOME/.config/mako/icons" + +time=$(date +%Y-%m-%d-%H-%M-%S) +dir="$(xdg-user-dir)/Pictures/Screenshots" +file="Screenshot_${time}_${RANDOM}.png" + +# notify and view screenshot +notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png" +notify_view() { + ${notify_cmd_shot} "Copied to clipboard." +## viewnior ${dir}/"$file" + if [[ -e "$dir/$file" ]]; then + ${notify_cmd_shot} "Screenshot Saved." + else + ${notify_cmd_shot} "Screenshot Deleted." + fi +} + +# countdown +countdown() { + for sec in $(seq $1 -1 1); do + notify-send -h string:x-canonical-private-synchronous:shot-notify -t 1000 -i "$iDIR"/timer.png "Taking shot in : $sec" + sleep 1 + done +} + +# take shots +shotnow() { + cd ${dir} && grim - | tee "$file" | wl-copy + sleep 2 + notify_view +} + +shot5() { + countdown '5' + sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy + sleep 1 + notify_view + +} + +shot10() { + countdown '10' + sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy + notify_view +} + +shotwin() { + w_pos=$(hyprctl activewindow | grep 'at:' | cut -d':' -f2 | tr -d ' ' | tail -n1) + w_size=$(hyprctl activewindow | grep 'size:' | cut -d':' -f2 | tr -d ' ' | tail -n1 | sed s/,/x/g) + cd ${dir} && grim -g "$w_pos $w_size" - | tee "$file" | wl-copy + notify_view +} + +shotarea() { + cd ${dir} && grim -g "$(slurp -b 1B1F28CC -c E06B74ff -s C778DD0D -w 2)" - | tee "$file" | wl-copy + notify_view +} + +if [[ ! -d "$dir" ]]; then + mkdir -p "$dir" +fi + +if [[ "$1" == "--now" ]]; then + shotnow +elif [[ "$1" == "--in5" ]]; then + shot5 +elif [[ "$1" == "--in10" ]]; then + shot10 +elif [[ "$1" == "--win" ]]; then + shotwin +elif [[ "$1" == "--area" ]]; then + shotarea +else + echo -e "Available Options : --now --in5 --in10 --win --area" +fi + +exit 0 diff --git a/hyprland/hypr/scripts/Startup.sh b/hyprland/hypr/scripts/Startup.sh new file mode 100755 index 0000000..18d88e3 --- /dev/null +++ b/hyprland/hypr/scripts/Startup.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +SCRIPTSDIR=$HOME/.config/hypr/scripts + +# Kill already running process +_ps=(waybar mako) +for _prs in "${_ps[@]}"; do + if [[ $(pidof ${_prs}) ]]; then + killall -9 ${_prs} + fi +done + +# Lauch notification daemon (mako) +${SCRIPTSDIR}/Mako.sh & + +# Lauch statusbar (waybar) +${SCRIPTSDIR}/Waybar.sh & + +# Lauch syncthing +${SCRIPTSDIR}/syncthing.sh & diff --git a/hyprland/hypr/scripts/Volume.sh b/hyprland/hypr/scripts/Volume.sh new file mode 100755 index 0000000..b11d8ab --- /dev/null +++ b/hyprland/hypr/scripts/Volume.sh @@ -0,0 +1,106 @@ +#!/bin/bash + +iDIR="$HOME/.config/hypr/mako/icons" + +# Get Volume +get_volume() { + volume=$(pamixer --get-volume) + echo "$volume" +} + +# Get icons +get_icon() { + current=$(get_volume) + if [[ "$current" -eq "0" ]]; then + echo "$iDIR/volume-mute.png" + elif [[ ("$current" -ge "0") && ("$current" -le "30") ]]; then + echo "$iDIR/volume-low.png" + elif [[ ("$current" -ge "30") && ("$current" -le "60") ]]; then + echo "$iDIR/volume-mid.png" + elif [[ ("$current" -ge "60") && ("$current" -le "100") ]]; then + echo "$iDIR/volume-high.png" + fi +} + +# Notify +notify_user() { + notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume : $(get_volume) %" +} + +# Increase Volume +inc_volume() { + pamixer -i 5 && notify_user +} + +# Decrease Volume +dec_volume() { + pamixer -d 5 && notify_user +} + +# Toggle Mute +toggle_mute() { + if [ "$(pamixer --get-mute)" == "false" ]; then + pamixer -m && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/volume-mute.png" "Volume Switched OFF" + elif [ "$(pamixer --get-mute)" == "true" ]; then + pamixer -u && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume Switched ON" + fi +} + +# Toggle Mic +toggle_mic() { + if [ "$(pamixer --default-source --get-mute)" == "false" ]; then + pamixer --default-source -m && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone-mute.png" "Microphone Switched OFF" + elif [ "$(pamixer --default-source --get-mute)" == "true" ]; then + pamixer -u --default-source u && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone.png" "Microphone Switched ON" + fi +} +# Get icons +get_mic_icon() { + current=$(pamixer --default-source --get-volume) + if [[ "$current" -eq "0" ]]; then + echo "$iDIR/microphone.png" + elif [[ ("$current" -ge "0") && ("$current" -le "30") ]]; then + echo "$iDIR/microphone.png" + elif [[ ("$current" -ge "30") && ("$current" -le "60") ]]; then + echo "$iDIR/microphone.png" + elif [[ ("$current" -ge "60") && ("$current" -le "100") ]]; then + echo "$iDIR/microphone.png" + fi +} +# Notify +notify_mic_user() { + notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" +} + +# Increase MIC Volume +inc_mic_volume() { + pamixer --default-source -i 5 && notify_mic_user +} + +# Decrease MIC Volume +dec_mic_volume() { + pamixer --default-source -d 5 && notify_mic_user +} + +# Execute accordingly +if [[ "$1" == "--get" ]]; then + get_volume +elif [[ "$1" == "--inc" ]]; then + inc_volume +elif [[ "$1" == "--dec" ]]; then + dec_volume +elif [[ "$1" == "--toggle" ]]; then + toggle_mute +elif [[ "$1" == "--toggle-mic" ]]; then + toggle_mic +elif [[ "$1" == "--get-icon" ]]; then + get_icon +elif [[ "$1" == "--get-mic-icon" ]]; then + get_mic_icon +elif [[ "$1" == "--mic-inc" ]]; then + inc_mic_volume +elif [[ "$1" == "--mic-dec" ]]; then + dec_mic_volume +else + get_volume +fi diff --git a/hyprland/hypr/scripts/Waybar.sh b/hyprland/hypr/scripts/Waybar.sh new file mode 100755 index 0000000..394f309 --- /dev/null +++ b/hyprland/hypr/scripts/Waybar.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +CONFIG="$HOME/.config/waybar/config" +STYLE="$HOME/.config/waybar/style.css" + +if [[ ! $(pidof waybar) ]]; then + waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} +fi diff --git a/hyprland/hypr/scripts/Wofi.sh b/hyprland/hypr/scripts/Wofi.sh new file mode 100755 index 0000000..56c0315 --- /dev/null +++ b/hyprland/hypr/scripts/Wofi.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +CONFIG="$HOME/.config/wofi/config" +STYLE="$HOME/.config/wofi/style.css" + +if [[ ! $(pidof wofi) ]]; then + wofi --show drun --prompt 'Search...' --conf ${CONFIG} --style ${STYLE} +elses + pkill wofi +fi diff --git a/hyprland/hypr/scripts/syncthing.sh b/hyprland/hypr/scripts/syncthing.sh new file mode 100755 index 0000000..6c88a1b --- /dev/null +++ b/hyprland/hypr/scripts/syncthing.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +sleep 10 +sudo systemctl start syncthing@$HOST.service +syncthing diff --git a/hyprland/kitty/kitty.conf b/hyprland/kitty/kitty.conf new file mode 100644 index 0000000..34fc275 --- /dev/null +++ b/hyprland/kitty/kitty.conf @@ -0,0 +1,64 @@ +# colors +# Tokyo Night color scheme for kitty terminal emulator +# https://github.com/davidmathers/tokyo-night-kitty-theme +foreground #89c18f +background #000000 +color0 #2b3b44 +color8 #2b3b44 +color1 #f7768e +color9 #f7768e +color2 #5AE058 +color10 #5AE058 +color3 #e0af68 +color11 #e0af68 +color4 #7aa2f7 +color12 #7aa2f7 +color5 #bb9af7 +color13 #bb9af7 +color6 #3FB5A3 +color14 #3FB5A3 +color7 #c0caf5 +color15 #c0caf5 + +background_opacity 1 + +# cursor +cursor #89c18f +cursor_text_color #89c18f + +# selection highlight +selection_foreground none +selection_background #28344a + +# url on mouse over +url_color #9ece6a + +# window borders +active_border_color #89c18f +inactive_border_color #101014 + +# tab bar +tab_bar_style hidden +active_tab_foreground #89c18f +active_tab_background #2b3b44 +active_tab_font_style bold +inactive_tab_foreground #89c18f +inactive_tab_background #2b3b44 +inactive_tab_font_style bold +tab_bar_background #101014 +confirm_os_window_close 0 + +# The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution. +window_border_width 0 + +# The window margin (in pts) (blank area outside the border) +window_margin_width 0 + +# The window padding (in pts) (blank area between the text and the window border) +window_padding_width 0 + +# font +font_size 14.0 +font_family CaskaydiaCoveNerdFontComplete-Regular + +enable_audio_bell no diff --git a/hyprland/mako/config b/hyprland/mako/config new file mode 100644 index 0000000..1bd1191 --- /dev/null +++ b/hyprland/mako/config @@ -0,0 +1,54 @@ +# GLOBAL +max-history=100 +sort=-time + +# BINDING OPTIONS +on-button-left=dismiss +on-button-middle=none +on-button-right=dismiss-all +on-touch=dismiss +#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga + +# STYLE OPTIONS +font="Fantasque Sans Mono", 13 +width=300 +height=100 +margin=10 +padding=15 +border-size=1 +border-radius=12 +icons=1 +max-icon-size=48 +icon-location=left +markup=1 +actions=1 +history=1 +text-alignment=center +default-timeout=5000 +ignore-timeout=0 +max-visible=5 +layer=overlay +anchor=top-center + +background-color=#000000 +text-color=#3FB5A3 +border-color=#5AE058 +progress-color=over #89b4fa + +[urgency=low] +border-color=#5AE058 +default-timeout=2000 + +[urgency=normal] +border-color=#5AE058 +default-timeout=5000 + +[urgency=high] +border-color=#f38ba8 +text-color=#f38ba8 +default-timeout=0 + +[category=mpd] +border-color=#f9e2af +default-timeout=2000 +group-by=category diff --git a/hyprland/mako/icons/backup.png b/hyprland/mako/icons/backup.png new file mode 100644 index 0000000..a60a495 Binary files /dev/null and b/hyprland/mako/icons/backup.png differ diff --git a/hyprland/mako/icons/battery-quarter-solid.svg b/hyprland/mako/icons/battery-quarter-solid.svg new file mode 100644 index 0000000..450ef3d --- /dev/null +++ b/hyprland/mako/icons/battery-quarter-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/hyprland/mako/icons/battery-status.png b/hyprland/mako/icons/battery-status.png new file mode 100644 index 0000000..07bf815 Binary files /dev/null and b/hyprland/mako/icons/battery-status.png differ diff --git a/hyprland/mako/icons/brightness-100.png b/hyprland/mako/icons/brightness-100.png new file mode 100644 index 0000000..1e28ac3 Binary files /dev/null and b/hyprland/mako/icons/brightness-100.png differ diff --git a/hyprland/mako/icons/brightness-20.png b/hyprland/mako/icons/brightness-20.png new file mode 100644 index 0000000..aee9c52 Binary files /dev/null and b/hyprland/mako/icons/brightness-20.png differ diff --git a/hyprland/mako/icons/brightness-40.png b/hyprland/mako/icons/brightness-40.png new file mode 100644 index 0000000..bbedd1c Binary files /dev/null and b/hyprland/mako/icons/brightness-40.png differ diff --git a/hyprland/mako/icons/brightness-60.png b/hyprland/mako/icons/brightness-60.png new file mode 100644 index 0000000..4cd838b Binary files /dev/null and b/hyprland/mako/icons/brightness-60.png differ diff --git a/hyprland/mako/icons/brightness-80.png b/hyprland/mako/icons/brightness-80.png new file mode 100644 index 0000000..6684bdb Binary files /dev/null and b/hyprland/mako/icons/brightness-80.png differ diff --git a/hyprland/mako/icons/dropper.png b/hyprland/mako/icons/dropper.png new file mode 100644 index 0000000..2e222a3 Binary files /dev/null and b/hyprland/mako/icons/dropper.png differ diff --git a/hyprland/mako/icons/microphone-mute.png b/hyprland/mako/icons/microphone-mute.png new file mode 100644 index 0000000..1780e33 Binary files /dev/null and b/hyprland/mako/icons/microphone-mute.png differ diff --git a/hyprland/mako/icons/microphone.png b/hyprland/mako/icons/microphone.png new file mode 100644 index 0000000..d1b6d76 Binary files /dev/null and b/hyprland/mako/icons/microphone.png differ diff --git a/hyprland/mako/icons/music.png b/hyprland/mako/icons/music.png new file mode 100644 index 0000000..92bf4c6 Binary files /dev/null and b/hyprland/mako/icons/music.png differ diff --git a/hyprland/mako/icons/palette.png b/hyprland/mako/icons/palette.png new file mode 100644 index 0000000..3ba73d0 Binary files /dev/null and b/hyprland/mako/icons/palette.png differ diff --git a/hyprland/mako/icons/picture.png b/hyprland/mako/icons/picture.png new file mode 100644 index 0000000..4669bc3 Binary files /dev/null and b/hyprland/mako/icons/picture.png differ diff --git a/hyprland/mako/icons/timer.png b/hyprland/mako/icons/timer.png new file mode 100644 index 0000000..420d1f1 Binary files /dev/null and b/hyprland/mako/icons/timer.png differ diff --git a/hyprland/mako/icons/uptime.png b/hyprland/mako/icons/uptime.png new file mode 100644 index 0000000..9dd08de Binary files /dev/null and b/hyprland/mako/icons/uptime.png differ diff --git a/hyprland/mako/icons/volume-high.png b/hyprland/mako/icons/volume-high.png new file mode 100644 index 0000000..200f17b Binary files /dev/null and b/hyprland/mako/icons/volume-high.png differ diff --git a/hyprland/mako/icons/volume-low.png b/hyprland/mako/icons/volume-low.png new file mode 100644 index 0000000..17cfff7 Binary files /dev/null and b/hyprland/mako/icons/volume-low.png differ diff --git a/hyprland/mako/icons/volume-mid.png b/hyprland/mako/icons/volume-mid.png new file mode 100644 index 0000000..1a3ad3a Binary files /dev/null and b/hyprland/mako/icons/volume-mid.png differ diff --git a/hyprland/mako/icons/volume-mute.png b/hyprland/mako/icons/volume-mute.png new file mode 100644 index 0000000..0b9b0c3 Binary files /dev/null and b/hyprland/mako/icons/volume-mute.png differ diff --git a/hyprland/mako/icons/vpn.png b/hyprland/mako/icons/vpn.png new file mode 100644 index 0000000..e31acaa Binary files /dev/null and b/hyprland/mako/icons/vpn.png differ diff --git a/hyprland/mako/styles/config-dark b/hyprland/mako/styles/config-dark new file mode 100644 index 0000000..dcb0479 --- /dev/null +++ b/hyprland/mako/styles/config-dark @@ -0,0 +1,54 @@ +# GLOBAL +max-history=100 +sort=-time + +# BINDING OPTIONS +on-button-left=dismiss +on-button-middle=none +on-button-right=dismiss-all +on-touch=dismiss +#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga + +# STYLE OPTIONS +font="Fantasque Sans Mono", 13 +width=300 +height=100 +margin=10 +padding=15 +border-size=1 +border-radius=12 +icons=1 +max-icon-size=48 +icon-location=left +markup=1 +actions=1 +history=1 +text-alignment=center +default-timeout=5000 +ignore-timeout=0 +max-visible=5 +layer=overlay +anchor=top-center + +background-color=#1e1e2e +text-color=#cdd6f4 +border-color=#cba6f7 +progress-color=over #89b4fa + +[urgency=low] +border-color=#cba6f7 +default-timeout=2000 + +[urgency=normal] +border-color=#cba6f7 +default-timeout=5000 + +[urgency=high] +border-color=#f38ba8 +text-color=#f38ba8 +default-timeout=0 + +[category=mpd] +border-color=#f9e2af +default-timeout=2000 +group-by=category \ No newline at end of file diff --git a/hyprland/mako/styles/config-light b/hyprland/mako/styles/config-light new file mode 100644 index 0000000..617eae2 --- /dev/null +++ b/hyprland/mako/styles/config-light @@ -0,0 +1,54 @@ +# GLOBAL +max-history=100 +sort=-time + +# BINDING OPTIONS +on-button-left=dismiss +on-button-middle=none +on-button-right=dismiss-all +on-touch=dismiss +#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga + +# STYLE OPTIONS +font="Fantasque Sans Mono", 13 +width=300 +height=100 +margin=10 +padding=15 +border-size=1 +border-radius=12 +icons=1 +max-icon-size=48 +icon-location=left +markup=1 +actions=1 +history=1 +text-alignment=center +default-timeout=5000 +ignore-timeout=0 +max-visible=5 +layer=overlay +anchor=top-center + +background-color=#e7e7ec +text-color=#1e1e2e +border-color=#313244 +progress-color=over #89b4fa + +[urgency=low] +border-color=#313244 +default-timeout=2000 + +[urgency=normal] +border-color=#313244 +default-timeout=5000 + +[urgency=high] +border-color=#f38ba8 +text-color=#f38ba8 +default-timeout=0 + +[category=mpd] +border-color=#f9e2af +default-timeout=2000 +group-by=category \ No newline at end of file diff --git a/hyprland/neofetch/config.conf b/hyprland/neofetch/config.conf new file mode 100644 index 0000000..5dc5bbe --- /dev/null +++ b/hyprland/neofetch/config.conf @@ -0,0 +1,861 @@ +# See this wiki page for more info: +# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info +print_info() { + info title + info underline + + info "OS" distro + info "Host" model + info "Kernel" kernel + info "Uptime" uptime + info "Packages" packages + info "Shell" shell + info "DE" de + info "WM" wm + info "WM Theme" wm_theme + info "Terminal" term + info "Terminal Font" term_font + info "CPU" cpu + info "GPU" gpu + info "Memory" memory + + # info "GPU Driver" gpu_driver # Linux/macOS only + # info "CPU Usage" cpu_usage + # info "Disk" disk + # info "Battery" battery + # info "Font" font + # info "Song" song + # [[ "$player" ]] && prin "Music Player" "$player" + # info "Local IP" local_ip + # info "Public IP" public_ip + # info "Users" users + # info "Locale" locale # This only works on glibc systems. + + info cols +} + +# Title + + +# Hide/Show Fully qualified domain name. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --title_fqdn +title_fqdn="off" + + +# Kernel + + +# Shorten the output of the kernel function. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --kernel_shorthand +# Supports: Everything except *BSDs (except PacBSD and PC-BSD) +# +# Example: +# on: '4.8.9-1-ARCH' +# off: 'Linux 4.8.9-1-ARCH' +kernel_shorthand="on" + + +# Distro + + +# Shorten the output of the distro function +# +# Default: 'off' +# Values: 'on', 'tiny', 'off' +# Flag: --distro_shorthand +# Supports: Everything except Windows and Haiku +distro_shorthand="off" + +# Show/Hide OS Architecture. +# Show 'x86_64', 'x86' and etc in 'Distro:' output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --os_arch +# +# Example: +# on: 'Arch Linux x86_64' +# off: 'Arch Linux' +os_arch="on" + + +# Uptime + + +# Shorten the output of the uptime function +# +# Default: 'on' +# Values: 'on', 'tiny', 'off' +# Flag: --uptime_shorthand +# +# Example: +# on: '2 days, 10 hours, 3 mins' +# tiny: '2d 10h 3m' +# off: '2 days, 10 hours, 3 minutes' +uptime_shorthand="on" + + +# Memory + + +# Show memory pecentage in output. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --memory_percent +# +# Example: +# on: '1801MiB / 7881MiB (22%)' +# off: '1801MiB / 7881MiB' +memory_percent="off" + +# Change memory output unit. +# +# Default: 'mib' +# Values: 'kib', 'mib', 'gib' +# Flag: --memory_unit +# +# Example: +# kib '1020928KiB / 7117824KiB' +# mib '1042MiB / 6951MiB' +# gib: ' 0.98GiB / 6.79GiB' +memory_unit="mib" + + +# Packages + + +# Show/Hide Package Manager names. +# +# Default: 'tiny' +# Values: 'on', 'tiny' 'off' +# Flag: --package_managers +# +# Example: +# on: '998 (pacman), 8 (flatpak), 4 (snap)' +# tiny: '908 (pacman, flatpak, snap)' +# off: '908' +package_managers="on" + + +# Shell + + +# Show the path to $SHELL +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --shell_path +# +# Example: +# on: '/bin/bash' +# off: 'bash' +shell_path="off" + +# Show $SHELL version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --shell_version +# +# Example: +# on: 'bash 4.4.5' +# off: 'bash' +shell_version="on" + + +# CPU + + +# CPU speed type +# +# Default: 'bios_limit' +# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. +# Flag: --speed_type +# Supports: Linux with 'cpufreq' +# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. +speed_type="bios_limit" + +# CPU speed shorthand +# +# Default: 'off' +# Values: 'on', 'off'. +# Flag: --speed_shorthand +# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz +# +# Example: +# on: 'i7-6500U (4) @ 3.1GHz' +# off: 'i7-6500U (4) @ 3.100GHz' +speed_shorthand="off" + +# Enable/Disable CPU brand in output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_brand +# +# Example: +# on: 'Intel i7-6500U' +# off: 'i7-6500U (4)' +cpu_brand="on" + +# CPU Speed +# Hide/Show CPU speed. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_speed +# +# Example: +# on: 'Intel i7-6500U (4) @ 3.1GHz' +# off: 'Intel i7-6500U (4)' +cpu_speed="on" + +# CPU Cores +# Display CPU cores in output +# +# Default: 'logical' +# Values: 'logical', 'physical', 'off' +# Flag: --cpu_cores +# Support: 'physical' doesn't work on BSD. +# +# Example: +# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) +# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) +# off: 'Intel i7-6500U @ 3.1GHz' +cpu_cores="logical" + +# CPU Temperature +# Hide/Show CPU temperature. +# Note the temperature is added to the regular CPU function. +# +# Default: 'off' +# Values: 'C', 'F', 'off' +# Flag: --cpu_temp +# Supports: Linux, BSD +# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable +# coretemp kernel module. This only supports newer Intel processors. +# +# Example: +# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' +# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' +# off: 'Intel i7-6500U (4) @ 3.1GHz' +cpu_temp="off" + + +# GPU + + +# Enable/Disable GPU Brand +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gpu_brand +# +# Example: +# on: 'AMD HD 7950' +# off: 'HD 7950' +gpu_brand="on" + +# Which GPU to display +# +# Default: 'all' +# Values: 'all', 'dedicated', 'integrated' +# Flag: --gpu_type +# Supports: Linux +# +# Example: +# all: +# GPU1: AMD HD 7950 +# GPU2: Intel Integrated Graphics +# +# dedicated: +# GPU1: AMD HD 7950 +# +# integrated: +# GPU1: Intel Integrated Graphics +gpu_type="all" + + +# Resolution + + +# Display refresh rate next to each monitor +# Default: 'off' +# Values: 'on', 'off' +# Flag: --refresh_rate +# Supports: Doesn't work on Windows. +# +# Example: +# on: '1920x1080 @ 60Hz' +# off: '1920x1080' +refresh_rate="off" + + +# Gtk Theme / Icons / Font + + +# Shorten output of GTK Theme / Icons / Font +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --gtk_shorthand +# +# Example: +# on: 'Numix, Adwaita' +# off: 'Numix [GTK2], Adwaita [GTK3]' +gtk_shorthand="off" + + +# Enable/Disable gtk2 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk2 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Adwaita [GTK3]' +gtk2="on" + +# Enable/Disable gtk3 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk3 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Numix [GTK2]' +gtk3="on" + + +# IP Address + + +# Website to ping for the public IP +# +# Default: 'http://ident.me' +# Values: 'url' +# Flag: --ip_host +public_ip_host="http://ident.me" + +# Public IP timeout. +# +# Default: '2' +# Values: 'int' +# Flag: --ip_timeout +public_ip_timeout=2 + + +# Desktop Environment + + +# Show Desktop Environment version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --de_version +de_version="on" + + +# Disk + + +# Which disks to display. +# The values can be any /dev/sdXX, mount point or directory. +# NOTE: By default we only show the disk info for '/'. +# +# Default: '/' +# Values: '/', '/dev/sdXX', '/path/to/drive'. +# Flag: --disk_show +# +# Example: +# disk_show=('/' '/dev/sdb1'): +# 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 823G / 893G (93%)' +# +# disk_show=('/'): +# 'Disk (/): 74G / 118G (66%)' +# +disk_show=('/') + +# Disk subtitle. +# What to append to the Disk subtitle. +# +# Default: 'mount' +# Values: 'mount', 'name', 'dir', 'none' +# Flag: --disk_subtitle +# +# Example: +# name: 'Disk (/dev/sda1): 74G / 118G (66%)' +# 'Disk (/dev/sdb2): 74G / 118G (66%)' +# +# mount: 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 74G / 118G (66%)' +# +# dir: 'Disk (/): 74G / 118G (66%)' +# 'Disk (Local Disk): 74G / 118G (66%)' +# 'Disk (Videos): 74G / 118G (66%)' +# +# none: 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +disk_subtitle="mount" + +# Disk percent. +# Show/Hide disk percent. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --disk_percent +# +# Example: +# on: 'Disk (/): 74G / 118G (66%)' +# off: 'Disk (/): 74G / 118G' +disk_percent="on" + + +# Song + + +# Manually specify a music player. +# +# Default: 'auto' +# Values: 'auto', 'player-name' +# Flag: --music_player +# +# Available values for 'player-name': +# +# amarok +# audacious +# banshee +# bluemindo +# clementine +# cmus +# deadbeef +# deepin-music +# dragon +# elisa +# exaile +# gnome-music +# gmusicbrowser +# gogglesmm +# guayadeque +# io.elementary.music +# iTunes +# juk +# lollypop +# mocp +# mopidy +# mpd +# muine +# netease-cloud-music +# olivia +# playerctl +# pogo +# pragha +# qmmp +# quodlibet +# rhythmbox +# sayonara +# smplayer +# spotify +# strawberry +# tauonmb +# tomahawk +# vlc +# xmms2d +# xnoise +# yarock +music_player="auto" + +# Format to display song information. +# +# Default: '%artist% - %album% - %title%' +# Values: '%artist%', '%album%', '%title%' +# Flag: --song_format +# +# Example: +# default: 'Song: Jet - Get Born - Sgt Major' +song_format="%artist% - %album% - %title%" + +# Print the Artist, Album and Title on separate lines +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --song_shorthand +# +# Example: +# on: 'Artist: The Fratellis' +# 'Album: Costello Music' +# 'Song: Chelsea Dagger' +# +# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' +song_shorthand="off" + +# 'mpc' arguments (specify a host, password etc). +# +# Default: '' +# Example: mpc_args=(-h HOST -P PASSWORD) +mpc_args=() + + +# Text Colors + + +# Text Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --colors +# +# Each number represents a different part of the text in +# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' +# +# Example: +# colors=(distro) - Text is colored based on Distro colors. +# colors=(4 6 1 8 8 6) - Text is colored in the order above. +colors=(distro) + + +# Text Options + + +# Toggle bold text +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bold +bold="on" + +# Enable/Disable Underline +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --underline +underline_enabled="on" + +# Underline character +# +# Default: '-' +# Values: 'string' +# Flag: --underline_char +underline_char="-" + + +# Info Separator +# Replace the default separator with the specified string. +# +# Default: ':' +# Flag: --separator +# +# Example: +# separator="->": 'Shell-> bash' +# separator=" =": 'WM = dwm' +separator=":" + + +# Color Blocks + + +# Color block range +# The range of colors to print. +# +# Default: '0', '15' +# Values: 'num' +# Flag: --block_range +# +# Example: +# +# Display colors 0-7 in the blocks. (8 colors) +# neofetch --block_range 0 7 +# +# Display colors 0-15 in the blocks. (16 colors) +# neofetch --block_range 0 15 +block_range=(0 15) + +# Toggle color blocks +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --color_blocks +color_blocks="on" + +# Color block width in spaces +# +# Default: '3' +# Values: 'num' +# Flag: --block_width +block_width=3 + +# Color block height in lines +# +# Default: '1' +# Values: 'num' +# Flag: --block_height +block_height=1 + +# Color Alignment +# +# Default: 'auto' +# Values: 'auto', 'num' +# Flag: --col_offset +# +# Number specifies how far from the left side of the terminal (in spaces) to +# begin printing the columns, in case you want to e.g. center them under your +# text. +# Example: +# col_offset="auto" - Default behavior of neofetch +# col_offset=7 - Leave 7 spaces then print the colors +col_offset="auto" + +# Progress Bars + + +# Bar characters +# +# Default: '-', '=' +# Values: 'string', 'string' +# Flag: --bar_char +# +# Example: +# neofetch --bar_char 'elapsed' 'total' +# neofetch --bar_char '-' '=' +bar_char_elapsed="-" +bar_char_total="=" + +# Toggle Bar border +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bar_border +bar_border="on" + +# Progress bar length in spaces +# Number of chars long to make the progress bars. +# +# Default: '15' +# Values: 'num' +# Flag: --bar_length +bar_length=15 + +# Progress bar colors +# When set to distro, uses your distro's logo colors. +# +# Default: 'distro', 'distro' +# Values: 'distro', 'num' +# Flag: --bar_colors +# +# Example: +# neofetch --bar_colors 3 4 +# neofetch --bar_colors distro 5 +bar_color_elapsed="distro" +bar_color_total="distro" + + +# Info display +# Display a bar with the info. +# +# Default: 'off' +# Values: 'bar', 'infobar', 'barinfo', 'off' +# Flags: --cpu_display +# --memory_display +# --battery_display +# --disk_display +# +# Example: +# bar: '[---=======]' +# infobar: 'info [---=======]' +# barinfo: '[---=======] info' +# off: 'info' +cpu_display="off" +memory_display="off" +battery_display="off" +disk_display="off" + + +# Backend Settings + + +# Image backend. +# +# Default: 'ascii' +# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', +# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' +# Flag: --backend +image_backend="ascii" + +# Image Source +# +# Which image or ascii file to display. +# +# Default: 'auto' +# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' +# Flag: --source +# +# NOTE: 'auto' will pick the best image source for whatever image backend is used. +# In ascii mode, distro ascii art will be used and in an image mode, your +# wallpaper will be used. +image_source="auto" + + +# Ascii Options + + +# Ascii distro +# Which distro's ascii art to display. +# +# Default: 'auto' +# Values: 'auto', 'distro_name' +# Flag: --ascii_distro +# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", +# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, +# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, +# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, +# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, +# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, +# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, +# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, +# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, +# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, +# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, +# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, +# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, +# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, +# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, +# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, +# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, +# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, +# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, +# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, +# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, +# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, +# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, +# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, +# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, +# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, +# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, +# and IRIX have ascii logos +# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. +# Use '{distro name}_old' to use the old logos. +# NOTE: Ubuntu has flavor variants. +# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, +# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. +# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, +# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, +# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, +# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, +# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, +# postmarketOS, and Void have a smaller logo variant. +# Use '{distro name}_small' to use the small variants. +ascii_distro="Arch" + +# Ascii Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --ascii_colors +# +# Example: +# ascii_colors=(distro) - Ascii is colored based on Distro colors. +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. +ascii_colors=(distro) + +# Bold ascii logo +# Whether or not to bold the ascii logo. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --ascii_bold +ascii_bold="on" + + +# Image Options + + +# Image loop +# Setting this to on will make neofetch redraw the image constantly until +# Ctrl+C is pressed. This fixes display issues in some terminal emulators. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --loop +image_loop="off" + +# Thumbnail directory +# +# Default: '~/.cache/thumbnails/neofetch' +# Values: 'dir' +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" + +# Crop mode +# +# Default: 'normal' +# Values: 'normal', 'fit', 'fill' +# Flag: --crop_mode +# +# See this wiki page to learn about the fit and fill options. +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F +crop_mode="normal" + +# Crop offset +# Note: Only affects 'normal' crop mode. +# +# Default: 'center' +# Values: 'northwest', 'north', 'northeast', 'west', 'center' +# 'east', 'southwest', 'south', 'southeast' +# Flag: --crop_offset +crop_offset="center" + +# Image size +# The image is half the terminal width by default. +# +# Default: 'auto' +# Values: 'auto', '00px', '00%', 'none' +# Flags: --image_size +# --size +image_size="auto" + +# Gap between image and text +# +# Default: '3' +# Values: 'num', '-num' +# Flag: --gap +gap=3 + +# Image offsets +# Only works with the w3m backend. +# +# Default: '0' +# Values: 'px' +# Flags: --xoffset +# --yoffset +yoffset=0 +xoffset=0 + +# Image background color +# Only works with the w3m backend. +# +# Default: '' +# Values: 'color', 'blue' +# Flag: --bg_color +background_color= + + +# Misc Options + +# Stdout mode +# Turn off all colors and disables image backend (ASCII/Image). +# Useful for piping into another command. +# Default: 'off' +# Values: 'on', 'off' +stdout="off" diff --git a/hyprland/swaylock/config b/hyprland/swaylock/config new file mode 100644 index 0000000..1807a17 --- /dev/null +++ b/hyprland/swaylock/config @@ -0,0 +1,51 @@ +# general +fade-in=0.3 +effect-blur=5x5 +show-failed-attempts +ignore-empty-password +clock +datestr=%A %B %d +daemonize + +# indicator +indicator +indicator-radius=300 +indicator-thickness=15 + +# grace +grace=0 +grace-no-mouse +grace-no-touch + +# colors +color=000000 +separator-color=00000000 +key-hl-color=5AE058 +bs-hl-color=3FB5A3 + +# text +font="Inter" +font-size=96 +text-caps-lock-color="" +text-clear-color=3FB5A3 +text-color=5AE058 +text-ver-color=3FB5A3 +text-wrong-color=f7768e + +# inside +inside-clear-color=000000 +inside-color=000000 +inside-ver-color=000000 +inside-wrong-color=000000 + +# line +line-clear-color=3FB5A3 +line-color=000000 +line-ver-color=5AE058 +line-wrong-color=f7768e + +# ring +ring-clear-color=3FB5A3 +ring-color=000000 +ring-ver-color=5AE058 +ring-wrong-color=f7768e diff --git a/hyprland/waybar/config b/hyprland/waybar/config new file mode 100644 index 0000000..502dc01 --- /dev/null +++ b/hyprland/waybar/config @@ -0,0 +1,163 @@ +{ +"layer": "top", +"exclusive": true, +"passthrough": false, +"position": "bottom", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 6, +"margin-left": 8, +"margin-right": 8, + +"modules-left": [ + "hyprland/workspaces", + "custom/separator", + "cpu", + "memory", + "disk" + ], + "modules-center": [ + "clock", + "custom/lock" + ], + "modules-right": [ + "tray", + "network", + "pulseaudio", + "pulseaudio#microphone", + "custom/power" + ], + "hyprland/window": { + "format": "{}" + }, + "hyprland/workspaces": { + "format": "{name}", + }, + "cpu": { + "interval": 10, + "format": " {usage}%", + "max-length": 10, + "on-click": "" + }, + "memory": { + "interval": 30, + "format": " {}%", + "on-click": "killall btop || kitty --title btop sh -c 'btop'", + "max-length": 50 + }, + "disk": { + "format": " {percentage_used}%", + "tooltip": true, + "interval": 30 + }, + "custom/separator": { + "format": "∣" + }, + "tray": { + "icon-size": 14, + "tooltip": false, + "spacing": 10 + }, + "battery": { + "interval": 5, + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-charging": "󰂄 {capacity}%", + "format-plugged": "󰂄 {capacity}%", + "format-icons": [ + "󰁺", + "󰁻", + "󰁼", + "󰁽", + "󰁾", + "󰁿", + "󰂀", + "󰂁", + "󰂂", + "󰁹" + ] + }, + "backlight": { + "device": "intel_backlight", + "format": "{icon} {percent}%", + "format-icons": [ + "󰃚", + "󰃛", + "󰃜", + "󰃝", + "󰃝", + "󰃞", + "󰃟", + "󰃠" + ], + "scroll-step": 5 + }, + "pulseaudio": { + "format": "{icon} {volume}%", + "tooltip": false, + "format-muted": "󰖁 Mute", + "on-click-right": "pamixer -t", + "on-click": "killall pavucontrol || pavucontrol", + "on-scroll-up": "pamixer -i 5", + "on-scroll-down": "pamixer -d 5", + "scroll-step": 5, + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": [ + "", + "", + "󰕾", + "" + ] + } + }, + "pulseaudio#microphone": { + "format": "{format_source}", + "format-source": " {volume} %", + "format-source-muted": "", + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", + "on-click-right": "pavucontrol", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", + "scroll-step": 5, + }, + "network": { + "format": "{ifname}", + "format-wifi": " {signalStrength}%", + "format-ethernet": "󰈀 ", + "format-disconnected": "󰈂 Disconnected", + "tooltip-format": "{ifname} via {gwaddr} ", + "tooltip-format-wifi": "{essid} ({signalStrength}%) ", + "tooltip-format-ethernet": "{ifname} | {ipaddr}/{cidr} ", + "tooltip-format-disconnected": "Disconnected", + "on-click": "killall nm-connection-editor || nm-connection-editor ", + "max-length": 50 + }, + "hyprland/language": { + "format": " {}", + "format-en": "en-us", + "format-pt": "pt-br" + }, + "clock": { + "format": "{:󱑒 %I:%M %p %b %d}" + }, + "custom/lock": { + "format": "", + "on-click": "~/.config/hypr/scripts/LockScreen.sh", + "tooltip": false, + }, + "custom/power": { + "format": "  ", + "tooltip": false, + "on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown" + } +} diff --git a/hyprland/waybar/style.css b/hyprland/waybar/style.css new file mode 100644 index 0000000..3f1a467 --- /dev/null +++ b/hyprland/waybar/style.css @@ -0,0 +1,151 @@ +*{ +font-family: "JetBrainsMono Nerd Font"; +font-weight: bold; +min-height: 0; +/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ +font-size: 100%; +font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; +padding: 0px; +margin-top: 1px; +margin-bottom: 1px; + +} + +window#waybar { + background: rgba(0, 0, 0, 0); + /*border-bottom: 1px solid @unfocused_borders;*/ + /*border-radius: 10px;*/ + /*color: #cba6f7;*/ + /*border: 1px solid #cba6f7;*/ +} + +window#waybar.hidden { + opacity: 0.5; +} + +tooltip { + background: rgba(0, 0, 0, 0.6); + border-radius: 10px; + /*border: 1px solid #cba6f7;*/ +} + +tooltip label { + color: #5AE058; + margin-right: 2px; + margin-left: 2px; +} + +/*-----module groups----*/ +.modules-right { + background-color: rgba(0, 0, 0, 0.6); + border: 0px solid #b4befe; + border-radius: 10px; +} + +.modules-center { + background-color: rgba(0, 0, 0, 0.6); + border: 0px solid #b4befe; + border-radius: 10px; +} + +.modules-left { + background-color: rgba(0, 0, 0, 0.6); + border: 0px solid #b4befe; + border-radius: 10px; + +} + +#workspaces button { + padding: 2px; + color: #6E6A86; + margin-right: 5px; +} + +#workspaces button.active { + color: #3FB5A3; + border-radius: 15px 15px 15px 15px; +} + +#workspaces button.focused { + color: #d8dee9; +} + +#workspaces button.urgent { + color: #11111b; + border-radius: 10px; +} + +#workspaces button:hover { + color: #9CCFD8; + border-radius: 15px; +} + +#clock, +#battery, +#cpu, +#memory, +#disk, +#temperature, +#network, +#pulseaudio, +#wireplumber, +#mode, +#tray, +#cava, +#backlight, +#window, +#idle_inhibitor, +#mpd, +#bluetooth, +#taskbar, +#taskbar button, +#workspaces, +#custom-light_dark, +#custom-updater, +#custom-menu, +#custom-cycle_wall, +#custom-power, +#custom-spotify, +#custom-weather, +#custom-power, +#custom-lock, +#custom-weather.severe, +#custom-weather.sunnyDay, +#custom-weather.clearNight, +#custom-weather.cloudyFoggyDay, +#custom-weather.cloudyFoggyNight, +#custom-weather.rainyDay, +#custom-weather.rainyNight, +#custom-weather.showyIcyDay, +#custom-weather.snowyIcyNight, +#custom-weather.default, +#idle_inhibitor { + color: #5AE058; + padding: 0px 10px; + border-radius: 10px; +} + + + +#temperature.critical { + background-color: #ff0000; +} + +@keyframes blink { + to { + color: #000000; + } +} + +#taskbar button.active { + background-color: #7f849c; +} + +#battery.critical:not(.charging) { + color: #f53c3c; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} \ No newline at end of file diff --git a/hyprland/wlogout/layout b/hyprland/wlogout/layout new file mode 100644 index 0000000..a2d12e5 --- /dev/null +++ b/hyprland/wlogout/layout @@ -0,0 +1,30 @@ +{ + "label" : "lock", + "action" : "swaylock", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "logout", + "action" : "hyprctl dispatch exit 0", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "text" : "Suspend", + "keybind" : "u" +} diff --git a/hyprland/wlogout/lock-hover.png b/hyprland/wlogout/lock-hover.png new file mode 100644 index 0000000..8fb86fe Binary files /dev/null and b/hyprland/wlogout/lock-hover.png differ diff --git a/hyprland/wlogout/lock.png b/hyprland/wlogout/lock.png new file mode 100644 index 0000000..430451c Binary files /dev/null and b/hyprland/wlogout/lock.png differ diff --git a/hyprland/wlogout/logout-hover.png b/hyprland/wlogout/logout-hover.png new file mode 100644 index 0000000..9e570a9 Binary files /dev/null and b/hyprland/wlogout/logout-hover.png differ diff --git a/hyprland/wlogout/logout.png b/hyprland/wlogout/logout.png new file mode 100644 index 0000000..128c995 Binary files /dev/null and b/hyprland/wlogout/logout.png differ diff --git a/hyprland/wlogout/power-hover.png b/hyprland/wlogout/power-hover.png new file mode 100644 index 0000000..122d331 Binary files /dev/null and b/hyprland/wlogout/power-hover.png differ diff --git a/hyprland/wlogout/power.png b/hyprland/wlogout/power.png new file mode 100644 index 0000000..ce56166 Binary files /dev/null and b/hyprland/wlogout/power.png differ diff --git a/hyprland/wlogout/restart-hover.png b/hyprland/wlogout/restart-hover.png new file mode 100644 index 0000000..3e18536 Binary files /dev/null and b/hyprland/wlogout/restart-hover.png differ diff --git a/hyprland/wlogout/restart.png b/hyprland/wlogout/restart.png new file mode 100644 index 0000000..7855d40 Binary files /dev/null and b/hyprland/wlogout/restart.png differ diff --git a/hyprland/wlogout/sleep-hover.png b/hyprland/wlogout/sleep-hover.png new file mode 100644 index 0000000..0fd3bad Binary files /dev/null and b/hyprland/wlogout/sleep-hover.png differ diff --git a/hyprland/wlogout/sleep.png b/hyprland/wlogout/sleep.png new file mode 100644 index 0000000..6a3d607 Binary files /dev/null and b/hyprland/wlogout/sleep.png differ diff --git a/hyprland/wlogout/style.css b/hyprland/wlogout/style.css new file mode 100644 index 0000000..290dd67 --- /dev/null +++ b/hyprland/wlogout/style.css @@ -0,0 +1,63 @@ +window { + font-family: CaskaydiaCove Nerd Font, monospace; + font-size: 12pt; + color: black; + background-color: rgba(0, 0, 0, 1); +} + +button { + background-repeat: no-repeat; + background-position: center; + background-size: 20%; + border: none; + color: #3FB5A3; + text-shadow: none; + background-color: rgba(0, 0, 0, 0); + margin: 5px; + transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; +} + +button:hover { + background-color: rgba(0, 0, 0, 0); +} + +button:focus { + background-color: rgba(0, 0, 0, 0); + color: #5AE058; + text-shadow: none; +} + +#lock { + background-image: image(url("./lock-hover.png")); +} +#lock:focus { + background-image: image(url("./lock.png")); +} + +#logout { + background-image: image(url("./logout-hover.png")); +} +#logout:focus { + background-image: image(url("./logout.png")); +} + +#suspend { + background-image: image(url("./sleep-hover.png")); +} +#suspend:focus { + background-image: image(url("./sleep.png")); +} + +#shutdown { + background-image: image(url("./power-hover.png")); +} +#shutdown:focus { + background-image: image(url("./power.png")); +} + +#reboot { + background-image: image(url("./restart-hover.png")); +} +#reboot:focus { + background-image: image(url("./restart.png")); +} diff --git a/hyprland/wofi/config b/hyprland/wofi/config new file mode 100644 index 0000000..7632481 --- /dev/null +++ b/hyprland/wofi/config @@ -0,0 +1,17 @@ +width=550 +height=550 +location=center +show=drun +matching=fuzzy +prompt= +filter_rate=100 +allow_markup=true +no_actions=true +halign=fill +orientation=vertical +content_halign=fill +insensitive=true +allow_images=true +image_size=28 +gtk_dark=false +term=kitty diff --git a/hyprland/wofi/style.css b/hyprland/wofi/style.css new file mode 100644 index 0000000..6a97fb3 --- /dev/null +++ b/hyprland/wofi/style.css @@ -0,0 +1,96 @@ +* { + transition: 0.2s; +} + +window { + font-family: CaskaydiaCove Nerd Font; + font-size: 13px; + margin: 0px; + border: 2px solid black; + background-color: black; + border-radius: 16px; +} + +#input { + margin: 20px; + padding: 5px 15px; + border: none; + color: #ffffff; + background-color: rgba(255,255,255,0.05); + outline: none; + border-radius: 16px; +} + +#input::placeholder { + color: #ffffff; +} + +#input image { + color: #ffffff; +} + +#input:focus { + border: none; + outline: none; +} + +#inner-box { + margin: 20px; + margin-top: 0px; + border: none; + color: #5AE058; + border-radius: 12px; +} + +#inner-box * { + transition: none; +} + +#outer-box { + margin: 0px; + border: none; + padding: 0px; + border-radius: 16px; +} + +#scroll { + margin-top: 5px; + border: none; + border-radius: 16px; + margin-bottom: 5px; +} + +#text:selected { + color: #fff; + font-weight: bold; +} + +#img { + margin-right: 20px; + background: transparent; +} + +#text { + margin: 0px; + border: none; + padding: 0px; + background: transparent; +} + +#entry { + margin: 0px; + border: none; + border-radius: 16px; + padding: 5px 10px; + background-color: transparent; + min-height:32px; + font-weight: bold; +} + +#entry:selected { + outline: none; + margin: 0px; + border: none; + border-radius: 16px; + background-color: #3FB5A3; +}