diff --git a/configs/hyprland/iMac16,2/README.md b/configs/hyprland/iMac16,2/README.md new file mode 100644 index 0000000..c3b94c2 --- /dev/null +++ b/configs/hyprland/iMac16,2/README.md @@ -0,0 +1,8 @@ +# iMac on Arch running Hyprland +Most stuff work, however I had to install Manjaro, because I gave up on getting the wifi card to work. Manjaro installed all needed drivers. + +# Hyprland +- Wifi keeps asking me to connect to wifi everytime the system reboots/restarts +- Speakers works but in 2.1 channel, they sounds a bit weird + + diff --git a/configs/hyprland/iMac16,2/hypridle.conf b/configs/hyprland/iMac16,2/hypridle.conf new file mode 100644 index 0000000..a0b0611 --- /dev/null +++ b/configs/hyprland/iMac16,2/hypridle.conf @@ -0,0 +1,40 @@ +# _ _ _ _ +# | |__ _ _ _ __ _ __(_) __| | | ___ +# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \ +# | | | | |_| | |_) | | | | (_| | | __/ +# |_| |_|\__, | .__/|_| |_|\__,_|_|\___| +# |___/|_| +# +# Version 2.8.3 +# DO NOT REMOVE THE REPLACEMENT COMMENTS +# REQUIRED BY THE ML4W SETTINGS APP +# https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/ + +# general { +# ignore_dbus_inhibit = false +# } + +general { + lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. + before_sleep_cmd = loginctl lock-session # lock before suspend. + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. +} + +# Screenlock +listener { + # HYPRLOCK TIMEOUT + timeout = 300 + # HYPRLOCK ONTIMEOUT + on-timeout = loginctl lock-session +} + +# dpms +listener { + # DPMS TIMEOUT + timeout = 360 + # DPMS ONTIMEOUT + on-timeout = hyprctl dispatch dpms off + # DPMS ONRESUME + on-resume = hyprctl dispatch dpms on +} + diff --git a/configs/hyprland/iMac16,2/hyprland.conf b/configs/hyprland/iMac16,2/hyprland.conf new file mode 100644 index 0000000..3a05a0e --- /dev/null +++ b/configs/hyprland/iMac16,2/hyprland.conf @@ -0,0 +1,192 @@ +# Monitors 󰍺 +monitor = DP-3,4096x2304@60,auto,2 # Laptop Display +monitor = DP-1,2560x1440@144,auto,1 # Mini display port 4k Dell Monitor, Location = Left + +# StartUp  +source = ~/.config/hypr/startup.conf + +# ENV Variables +env = XCURSOR_SIZE,24 +env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that + + +# Input 󱡫 +input { + kb_layout = us + kb_variant = + kb_model = + kb_options = + kb_rules = + follow_mouse = 1 + touchpad { + natural_scroll = no + tap-to-click = true + scroll_factor = 0.4 + } + sensitivity = 0 # -1.0 to 1.0, 0 means no modification. +} + +# Styles 󰃐 +gestures { + workspace_swipe = on + workspace_swipe_fingers = 4 + workspace_swipe_invert = false +} + +general { + gaps_in = 5 + gaps_out = 5 + border_size = 2 +# col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg +# col.inactive_border = rgba(595959aa) + col.active_border = rgb(EBDBB2) + col.inactive_border = rgba(31313600) + layout = dwindle + allow_tearing = false +} + +decoration { + rounding = 10 + blur { + enabled = false + size = 3 + passes = 1 + } + drop_shadow = false + shadow_range = 4 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) +} + +animations { + enabled = no + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +dwindle { + pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = yes # you probably want this +} + +master { + new_is_master = true +} + +misc { + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true +} + +device { + name = epic-mouse-v1 + sensitivity = -0.5 +} + +# Rules & Binds  + +$mainMod = SUPER +$terminal = kitty # alacritty, foot, wezterm +$fileManager = thunar # dolphin, nautilus +$menu = wofi --show drun +$lock = hyprlock + +bind = $mainMod, M, exit, +bind = $mainMod, E, exec, $fileManager +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, F, fullscreen +bind = $mainMod SHIFT, R, exec, hyprctl reload +bind = $mainMod, Return, exec, $terminal +bind = $mainMod, Q, killactive, +bind = $mainMod, D, exec, wofi --show drun +bind = $mainMod SHIFT, F, togglefloating +bind = SUPER, L, exec, $lock +bind = $CONTROL, ESCAPE, exec, killall waybar || waybar + +windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. + +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +#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 SHIFT, 1, movetoworkspace, 1 +#bind = $mainMod SHIFT, 2, movetoworkspace, 2 +#bind = $mainMod SHIFT, 3, movetoworkspace, 3 +#bind = $mainMod SHIFT, 4, movetoworkspace, 4 +#bind = $mainMod SHIFT, 5, movetoworkspace, 5 +#bind = $mainMod SHIFT, 6, movetoworkspace, 6 +#bind = $mainMod SHIFT, 7, movetoworkspace, 7 +#bind = $mainMod SHIFT, 8, movetoworkspace, 8 +#bind = $mainMod SHIFT, 9, movetoworkspace, 9 +#bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# Example special workspace (scratchpad) +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# Volume Keys +bind =, xf86audioraisevolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bind =, xf86audiolowervolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bind = , xf86audiomute, exec, wpctl set-mute @DEFAULT_SINK@ toggle + +# Screen Brightness, Brightnessctl needs to be installed first +bind = , xf86monbrightnessup, exec, brightnessctl set 10%+ +bind = , xf86monbrightnessdown, exec, brightnessctl set 10%- + +# Keyboard Backlight +bind = , xf86KbdBrightnessUp, exec, brightnessctl -d *kbd_backlight set +33% +bind = , xf86KbdBrightnessDown, exec, brightnessctl -d *kbd_backlight set 33%- + +windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. + +# Plugins +# Split Monitor Workspaces +plugin { + split-monitor-workspaces { + count = 5 + keep_focused = 0 + enable_notifications = 0 + } +} + +# Switch workspaces with mainMod + [0-5] +bind = $mainMod, 1, split-workspace, 1 +bind = $mainMod, 2, split-workspace, 2 +bind = $mainMod, 3, split-workspace, 3 +bind = $mainMod, 4, split-workspace, 4 +bind = $mainMod, 5, split-workspace, 5 + +# Move active window to a workspace with mainMod + SHIFT + [0-5] +bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1 +bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2 +bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3 +bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4 +bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5 + diff --git a/configs/hyprland/iMac16,2/hyprlock.conf b/configs/hyprland/iMac16,2/hyprlock.conf new file mode 100644 index 0000000..fa71c27 --- /dev/null +++ b/configs/hyprland/iMac16,2/hyprlock.conf @@ -0,0 +1,68 @@ +background { + monitor = + path = ~/Pictures/Wallpapers/fish.png # PNG images only + blur_passes = 3 +} + +general { + no_fade_in = false + grace = 0 + disable_loading_bar = true +} + +input-field { + monitor = + size = 200, 50 + outline_thickness = 3 + dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = false + dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + outer_color = rgb(151515) + inner_color = rgb(200, 200, 200) + font_color = rgb(10, 10, 10) + fade_on_empty = true + fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. + placeholder_text = Input Password... # Text rendered in the input box when it's empty. + hide_input = false + rounding = -1 # -1 means complete rounding (circle/oval) + check_color = rgb(204, 136, 34) + fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) + invert_numlock = false # change color if numlock is off + swap_font_color = false # see below + + position = 0, -20 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:1000] echo "$TIME" + color = rgba(200, 200, 200, 1.0) + font_size = 55 + font_family = Iosevka Nerd Font + position = -100, -40 + halign = right + valign = bottom + shadow_passes = 5 + shadow_size = 10 +} + +label { + monitor = + text = $USER + color = rgba(200, 200, 200, 1.0) + font_size = 20 + font_family = Iosevka Nerd Font + position = -100, 160 + halign = right + valign = bottom + shadow_passes = 5 + shadow_size = 10 +} diff --git a/configs/hyprland/iMac16,2/hyprpaper.conf b/configs/hyprland/iMac16,2/hyprpaper.conf new file mode 100644 index 0000000..eceacbf --- /dev/null +++ b/configs/hyprland/iMac16,2/hyprpaper.conf @@ -0,0 +1,3 @@ +preload = $HOME/Pictures/to_the_sky.png +wallpaper = ,$HOME/Pictures/to_the_sky.png +splash = false diff --git a/configs/hyprland/iMac16,2/startup.conf b/configs/hyprland/iMac16,2/startup.conf new file mode 100644 index 0000000..f3c0a53 --- /dev/null +++ b/configs/hyprland/iMac16,2/startup.conf @@ -0,0 +1,10 @@ +exec-once=waybar +exec-once=nm-applet --indicator & disown +exec-once=/usr/lib/polkit-kde-authentication-agent-1 +exec-once = hyprpaper +exec-once = hypridle +exec-once = wl-clipboard # Needed for Neovim `Yank` to work +exec-once = hyprpm reload -n # Reload plugins + +exec = brightnessctl s 75% # Screen brightness +exec = brightnessctl --device=':white:kbd_backlight' set 0% # Keyboard backlight, start at off diff --git a/configs/tmux_g/tmux_custom_theme/.tmux.third.conf b/configs/tmux_g/tmux_custom_theme/.tmux.third.conf new file mode 100644 index 0000000..6141b32 --- /dev/null +++ b/configs/tmux_g/tmux_custom_theme/.tmux.third.conf @@ -0,0 +1,101 @@ +set -g default-terminal "screen-256color" +set -ga terminal-overrides ",xterm-256color*:Tc" +#set -g default-terminal "tmux-256color" +#set -ga terminal-overrides ",*256col*:Tc" +set -g prefix2 C-a # Secondary prefix + +unbind-key C-b # free the original bind-key key +set-option -g prefix C-a # setting the prefix from C-b to C-a +bind-key C-a send-prefix + +set-option -g base-index 1 # window index will start with 1 +set-window-option -g pane-base-index 1 # pane index will start with 1 +set-option -g renumber-windows on + +bind-key | split-window -h -c "#{pane_current_path}" # allows you to open new pane with current path +bind-key _ split-window -v -c "#{pane_current_path}" + +# nvim like movement +bind-key -r h select-pane -L # go left +bind-key -r j select-pane -D # go down +bind-key -r l select-pane -R # go right +bind-key -r k select-pane -U # go up + +# kill pane without asking me to kill it! +unbind-key x # unbind-key “x” from it’s current job of “ask and then close” +bind-key x kill-pane # rebind-key it to just “close” +bind-key X kill-session # key combo for killing the entire session - + shift + x + +# Window: Movements +bind-key L last-window +bind-key -r C-h select-window -t :- # cycle through the windows for quick window selection +bind-key -r C-l select-window -t :+ + +# The default key binding are Ctr+ Up/Down/Left/Right for one row movements , Alt + Up/Down/Left/Right for five row movements. +# Let's add one more to the set (Vim way) +# Vim Style +bind-key -r H resize-pane -L 2 # resize a pane two rows at a time. +bind-key -r J resize-pane -D 2 +bind-key -r K resize-pane -U 2 +bind-key -r L resize-pane -R 2 + +# these settings are added for testing porpuses they were taken from the github-nvim-theme +# Undercurl +set -g default-terminal "${TERM}" +set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support +set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 + +# toggle mouse +set -g mouse on + +# tpm plugins +#set -g @plugin 'egel/tmux-gruvbox' +#set -g @tmux-gruvbox 'dark' # or 'light' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'wfxr/tmux-fzf-url' +#set -g @plugin "arcticicestudio/nord-tmux" +#set -g @plugin 'odedlaz/tmux-onedark-theme' +#set -g @plugin 'jimeh/tmux-themepack' +#set -g @plugin 'srcery-colors/srcery-tmux' +# Official catppuccino theme +# ...alongside +set -g @plugin 'tmux-plugins/tpm' + +#set -g @catppuccin_flavour 'macchiato' #'latte' # or frappe, macchiato, mocha + +# this plugin is pretty cool but it does not work without Powerline fonts +#set -g @plugin 'Determinant/tmux-colortag' +#TMUX_COLORTAG_USE_POWERLINE=yes + +# sets specific tmux theme +#set -g @themepack 'powerline/default/green' + +set -g @plugin 'tmux-plugins/tmux-prefix-highlight' +set -g @plugin 'tmux-plugins/tmux-net-speed' +#set -g @plugin 'samoshkin/tmux-plugin-sysstat' # `sysstat_ntemp` and `sysstat_itemp` are temperatures of nvidia card and intel card, these scripts are available in my fork: https://github.com/sainnhe/tmux-plugin-sysstat + +#source ~/.config/tmux/themes/Catppuccin.conf +#source ~/.config/tmux/themes/sonokai-shusia.tmux.conf +#source ~/.config/tmux/themes/nightfox.conf + + +# Initialize TMUX plugin manager (keep this line at the very bottom of the tmux.conf" +run '~/.tmux/plugins/tpm/tpm' + +# Bar Settings +set-option -g status-position top +set-option -g status-interval 1 + +set -g status-left-length 85 +set -g status-left-length 60 + +set-option -g status-left '#[fg=#458588]#(echo "Session Name: ")#[fg=#ea6962]#{session_name}' +set-option -g status-right '%d %b, %Y || %H:%M:%S' +set-option -g status-justify centre + +set -g status-style 'bg=#1e1e1e,fg=#bdae93' +set -g window-status-current-style 'fg=#ea6962' + +set -g window-status-format "#I:#W" +set -g window-status-current-format "#I:#W"