From b0108bca4648d5389d37011f02a7e389c02d04ef Mon Sep 17 00:00:00 2001 From: toniiz Date: Sun, 16 Jun 2024 00:08:57 -0700 Subject: [PATCH] add tofi, mako config with its respective folders and .md --- configs/mako_l/MubinMuhammad/config | 9 ++ configs/mako_l/README.md | 2 + configs/sway_g/iMac16,2/config | 128 ++++++++++++++++++ .../sway_g/iMac16,2/config.d/swaysome.conf | 67 +++++++++ configs/tofi_l/MubinMuhammad/config | 14 ++ configs/tofi_l/README.md | 2 + .../iMac16,2/MubinMuhammad/config.jsonc | 72 ++++++++++ .../waybar_l/iMac16,2/MubinMuhammad/style.css | 85 ++++++++++++ 8 files changed, 379 insertions(+) create mode 100644 configs/mako_l/MubinMuhammad/config create mode 100644 configs/mako_l/README.md create mode 100644 configs/sway_g/iMac16,2/config create mode 100644 configs/sway_g/iMac16,2/config.d/swaysome.conf create mode 100644 configs/tofi_l/MubinMuhammad/config create mode 100644 configs/tofi_l/README.md create mode 100644 configs/waybar_l/iMac16,2/MubinMuhammad/config.jsonc create mode 100644 configs/waybar_l/iMac16,2/MubinMuhammad/style.css diff --git a/configs/mako_l/MubinMuhammad/config b/configs/mako_l/MubinMuhammad/config new file mode 100644 index 0000000..f6c8f79 --- /dev/null +++ b/configs/mako_l/MubinMuhammad/config @@ -0,0 +1,9 @@ +font=CaskaydiaCove Nerd Font bold 12 +background-color=#1d2021 +text-color=#d4be98 +border-size=2 +border-color=#303536 +border-radius=8 +icons=0 +text-alignment=left +default-timeout=5000 diff --git a/configs/mako_l/README.md b/configs/mako_l/README.md new file mode 100644 index 0000000..f91533c --- /dev/null +++ b/configs/mako_l/README.md @@ -0,0 +1,2 @@ +# Global config +This can be used anywhere, this is why there are no specific devices folders diff --git a/configs/sway_g/iMac16,2/config b/configs/sway_g/iMac16,2/config new file mode 100644 index 0000000..d807261 --- /dev/null +++ b/configs/sway_g/iMac16,2/config @@ -0,0 +1,128 @@ +font pango:VictorMono Nerd Font bold 12 + +output * background /home/toniiz/Pictures/bisbiswas.jpg fill + +output DP-3 mode 4096x2304@60Hz +output DP-1 mode 2560x1440@144Hz + +gaps inner 4 +gaps outer 4 + +default_border pixel 4 +default_floating_border pixel 4 + +# class border backgr. text indicator child_border +client.focused #303536 #303536 #d4be98 #303536 #303536 +client.focused_inactive #303536 #303536 #d4be98 #303536 #303536 +client.unfocused #0a0b0b #303536 #d4be98 #0a0b0b #0a0b0b +client.urgent #d8a657 #303536 #1d2021 #d8a657 #d8a657 +client.placeholder #7daea3 #303536 #1d2021 #7daea3 #7daea3 + +# swayfx + blur disable + blur_xray disable + blur_passes 0 + blur_radius 5 + shadows enable + corner_radius 8 + layer_effects "waybar" shadows enable; corner_radius 8; blur disable + +bar { +swaybar_command waybar + +# status_command /usr/bin/i3status-rs $HOME/.config/i3status/config.toml +# position top +# gaps 8 8 0 8 +# height 32 +# font pango:CaskaydiaCove Nerd Font bold 12 +# colors { +# background #1d2021ff +# focused_workspace #b7c37fff #a9b665ff #0a0b0bff +# inactive_workspace #1d2021ff #0a0b0bff #c7ab7aff +# } +} + +# variables +set $mod Mod4 +set $left h +set $down j +set $up k +set $right l +set $term kitty +set $menu tofi-drun | xargs swaymsg exec -- + +# common bindings +bindsym $mod+Return exec $term +bindsym $mod+d exec $menu +bindsym $mod+Shift+q kill +bindsym $mod+Shift+c reload +bindsym $mod+Shift+e exec swaynag -t warning -m "Exit Sway?" -B "Yes, exit Sway" "swaymsg exit" --font="CaskaydiaCove Nerd Font bold 12" +floating_modifier $mod normal + +# more bindings +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right +bindsym $mod+1 workspace number 1 +bindsym $mod+2 workspace number 2 +bindsym $mod+3 workspace number 3 +bindsym $mod+4 workspace number 4 +bindsym $mod+5 workspace number 5 +bindsym $mod+6 workspace number 6 +bindsym $mod+7 workspace number 7 +bindsym $mod+8 workspace number 8 +bindsym $mod+9 workspace number 9 +bindsym $mod+0 workspace number 10 +bindsym $mod+Shift+1 move container to workspace number 1 +bindsym $mod+Shift+2 move container to workspace number 2 +bindsym $mod+Shift+3 move container to workspace number 3 +bindsym $mod+Shift+4 move container to workspace number 4 +bindsym $mod+Shift+5 move container to workspace number 5 +bindsym $mod+Shift+6 move container to workspace number 6 +bindsym $mod+Shift+7 move container to workspace number 7 +bindsym $mod+Shift+8 move container to workspace number 8 +bindsym $mod+Shift+9 move container to workspace number 9 +bindsym $mod+Shift+0 move container to workspace number 10 +bindsym $mod+Shift+v floating toggle +bindsym $mod+b splith +bindsym $mod+v splitv +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split +bindsym $mod+f fullscreen +bindsym $mod+space focus mode_toggle +bindsym $mod+a focus parent +bindsym $mod+r mode "resize" + +mode "resize" { +bindsym $left resize shrink width 20px +bindsym $down resize grow height 20px +bindsym $up resize shrink height 20px +bindsym $right resize grow width 20px + +bindsym Left resize shrink width 20px +bindsym Down resize grow height 20px +bindsym Up resize shrink height 20px +bindsym Right resize grow width 20px + +bindsym Return mode "default" +bindsym Escape mode "default" +} + +# includes +include /etc/sway/config.d/* +# swaysome config append +include ~/.config/sway/config.d/*.conf diff --git a/configs/sway_g/iMac16,2/config.d/swaysome.conf b/configs/sway_g/iMac16,2/config.d/swaysome.conf new file mode 100644 index 0000000..98c6068 --- /dev/null +++ b/configs/sway_g/iMac16,2/config.d/swaysome.conf @@ -0,0 +1,67 @@ +# Use (un)bindcode or (un)bindsym, depending on what you used in your main sway config file. +# The `--no-warn` setting is only added to shortcuts that exist in the default config. You may want to add or remove +# that flag on some bindings depending on your config. + + +# Change focus between workspaces +bindsym --no-warn $mod+1 exec "swaysome focus 1" +bindsym --no-warn $mod+2 exec "swaysome focus 2" +bindsym --no-warn $mod+3 exec "swaysome focus 3" +bindsym --no-warn $mod+4 exec "swaysome focus 4" +bindsym --no-warn $mod+5 exec "swaysome focus 5" +bindsym --no-warn $mod+6 exec "swaysome focus 6" +bindsym --no-warn $mod+7 exec "swaysome focus 7" +bindsym --no-warn $mod+8 exec "swaysome focus 8" +bindsym --no-warn $mod+9 exec "swaysome focus 9" +bindsym --no-warn $mod+0 exec "swaysome focus 0" + +# Move containers between workspaces +bindsym --no-warn $mod+Shift+1 exec "swaysome move 1" +bindsym --no-warn $mod+Shift+2 exec "swaysome move 2" +bindsym --no-warn $mod+Shift+3 exec "swaysome move 3" +bindsym --no-warn $mod+Shift+4 exec "swaysome move 4" +bindsym --no-warn $mod+Shift+5 exec "swaysome move 5" +bindsym --no-warn $mod+Shift+6 exec "swaysome move 6" +bindsym --no-warn $mod+Shift+7 exec "swaysome move 7" +bindsym --no-warn $mod+Shift+8 exec "swaysome move 8" +bindsym --no-warn $mod+Shift+9 exec "swaysome move 9" +bindsym --no-warn $mod+Shift+0 exec "swaysome move 0" + +# Focus workspace groups +bindsym $mod+Alt+1 exec "swaysome focus-group 1" +bindsym $mod+Alt+2 exec "swaysome focus-group 2" +bindsym $mod+Alt+3 exec "swaysome focus-group 3" +bindsym $mod+Alt+4 exec "swaysome focus-group 4" +bindsym $mod+Alt+5 exec "swaysome focus-group 5" +bindsym $mod+Alt+6 exec "swaysome focus-group 6" +bindsym $mod+Alt+7 exec "swaysome focus-group 7" +bindsym $mod+Alt+8 exec "swaysome focus-group 8" +bindsym $mod+Alt+9 exec "swaysome focus-group 9" +bindsym $mod+Alt+0 exec "swaysome focus-group 0" + +# Move containers to other workspace groups +bindsym $mod+Alt+Shift+1 exec "swaysome move-to-group 1" +bindsym $mod+Alt+Shift+2 exec "swaysome move-to-group 2" +bindsym $mod+Alt+Shift+3 exec "swaysome move-to-group 3" +bindsym $mod+Alt+Shift+4 exec "swaysome move-to-group 4" +bindsym $mod+Alt+Shift+5 exec "swaysome move-to-group 5" +bindsym $mod+Alt+Shift+6 exec "swaysome move-to-group 6" +bindsym $mod+Alt+Shift+7 exec "swaysome move-to-group 7" +bindsym $mod+Alt+Shift+8 exec "swaysome move-to-group 8" +bindsym $mod+Alt+Shift+9 exec "swaysome move-to-group 9" +bindsym $mod+Alt+Shift+0 exec "swaysome move-to-group 0" + +# Move focused container to next output +bindsym $mod+o exec "swaysome next-output" +# Move focused container to previous output +bindsym $mod+Shift+o exec "swaysome prev-output" + +# Move focused workspace group to next output +bindsym $mod+Alt+o exec "swaysome workspace-group-next-output" +# Move focused workspace group to previous output +bindsym $mod+Alt+Shift+o exec "swaysome workspace-group-prev-output" + +# Init workspaces for every screen +exec "swaysome init 1" + + diff --git a/configs/tofi_l/MubinMuhammad/config b/configs/tofi_l/MubinMuhammad/config new file mode 100644 index 0000000..bf71283 --- /dev/null +++ b/configs/tofi_l/MubinMuhammad/config @@ -0,0 +1,14 @@ +font=CaskaydiaCove Nerd Font bold +font-size=12 +background-color=#1d2021 +outline-width=0 +border-width=2 +border-color=#303536 +text-color=#d4be98 +prompt-text="App: " +prompt-padding=4 +selection-color=#a9b665 +selection-match-color=#a9b665 +corner-radius=8 +width=500 +height=500 diff --git a/configs/tofi_l/README.md b/configs/tofi_l/README.md new file mode 100644 index 0000000..f91533c --- /dev/null +++ b/configs/tofi_l/README.md @@ -0,0 +1,2 @@ +# Global config +This can be used anywhere, this is why there are no specific devices folders diff --git a/configs/waybar_l/iMac16,2/MubinMuhammad/config.jsonc b/configs/waybar_l/iMac16,2/MubinMuhammad/config.jsonc new file mode 100644 index 0000000..7429624 --- /dev/null +++ b/configs/waybar_l/iMac16,2/MubinMuhammad/config.jsonc @@ -0,0 +1,72 @@ +{ +"layer": "top", +"spacing": 0, +"height": 0, +"margin-top": 8, +"margin-right": 8, +"margin-bottom": 0, +"margin-left": 8, + +"modules-left": [ +"sway/workspaces" +], + +"modules-center": [ +"clock" +], + +"modules-right": [ +"tray", +"network", +"battery", +"pulseaudio" +], + +"sway/workspaces": { +"disable-scroll": true, +"all-outputs": true, +"tooltip": false +}, + +"tray": { +"spacing": 10, +"tooltip": false +}, + +"clock": { +"format": "{:%I:%M %p - %a, %d %b %Y}", +"tooltip": false +}, + +"network": { +"format-wifi" : "󰤢 {bandwidthDownBits}", +"format-ethernet": "󰤢 {bandwidthDownBits}", +"format-disconnected" : "󰤠 No Network", +"interval": 5, +"tooltip": false +}, + +"pulseaudio": { +"scroll-step": 5, +"max-volume": 150, +"format": "{icon} {volume}%", +"format-bluetooth": "{icon} {volume}%", +"format-icons": ["", "", " "], +"nospacing": 1, +"format-muted": " ", +"on-click": "pavucontrol", +"tooltip": false +}, + +"battery": { +"format": "{icon} {capacity}%", +"interval": 5, +"states": { +"warning": 20, +"critical": 10 +}, + +"format-icons": ["", "", "", "", ""], +"tooltip": false +} +} diff --git a/configs/waybar_l/iMac16,2/MubinMuhammad/style.css b/configs/waybar_l/iMac16,2/MubinMuhammad/style.css new file mode 100644 index 0000000..51cd47e --- /dev/null +++ b/configs/waybar_l/iMac16,2/MubinMuhammad/style.css @@ -0,0 +1,85 @@ +* { +border: none; +border-radius: 0; +min-height: 0; +font-family: CaskaydiaCove Nerd Font; +font-weight: bold; +font-size: 14px; +padding: 0; +} + +window#waybar { +background: rgba(29, 32, 33, 1.000000); +border: 2px solid rgba(48, 53, 54, 1.000000); +} + +#battery, +#network, +#clock, +#tray, +#pulseaudio { +margin: 4px; +padding: 4px 8px; +border-radius: 8; +} + +#workspaces { +background-color: #303536; +margin: 4px; +border: 2px solid #434a4c; +border-radius: 8; +} + +#workspaces button { +all: initial; +min-width: 0; +box-shadow: inset 0 -3px transparent; +padding: 4px 8px; +color: #c7ab7a; +} + +#workspaces button.focused { +color: #d4be98; +} + +#workspaces button.urgent { +background-color: #e78a4e; +} + +#battery { +background-color: #a9b665; +border: 2px solid #b7c37f; +color: #1d2021; +} + +#network { +background-color: #d3869b; +border: 2px solid #dfa5b4; +color: #1d2021; +} + +#clock { +background-color: #303536; +border: 2px solid #434a4c; +color: #d4be98; +} + +#tray { +background-color: #e78a4e; +border: 2px solid #eca474; +color: #1d2021; +} + +#pulseaudio { +background-color: #d8a657; +border: 2px solid #dfb777; +color: #1d2021; +} + +#battery.warning, +#battery.critical, +#battery.urgent { +color: #1d2021; +background-color: #ea6962; +border: 2px solid #303536; +}