From 9f8df2fbd32797b568553729b50d987e10a70840 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Wed, 28 Jun 2023 13:21:24 -0300 Subject: aaaa Signed-off-by: Anna (navi) Figueiredo Gomes --- .config/rofi/config.rasi | 141 +++---------------------- .config/rofi/dmenu.rasi | 65 ++++++++++++ .config/rofi/launcher.rasi | 87 ++++++++++++++++ .config/rofi/test.rasi | 132 +++++++++++++++++++++++ .config/rofi/theme.rasi | 139 +++++++++++++++++++++++++ .config/sway/config | 190 ---------------------------------- .config/sway/config.d/00-colors | 16 +++ .config/sway/config.d/10-input | 10 ++ .config/sway/config.d/10-workspaces | 44 ++++++++ .config/sway/config.d/20-keybinds | 73 +++++++++++++ .config/sway/config.d/20-window-rules | 9 ++ .config/sway/config.d/30-bar | 17 +++ 12 files changed, 604 insertions(+), 319 deletions(-) create mode 100644 .config/rofi/dmenu.rasi create mode 100755 .config/rofi/launcher.rasi create mode 100755 .config/rofi/test.rasi create mode 100644 .config/rofi/theme.rasi create mode 100644 .config/sway/config.d/00-colors create mode 100644 .config/sway/config.d/10-input create mode 100644 .config/sway/config.d/10-workspaces create mode 100644 .config/sway/config.d/20-keybinds create mode 100644 .config/sway/config.d/20-window-rules create mode 100644 .config/sway/config.d/30-bar diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 36cd043..469c80e 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,133 +1,16 @@ -@import "default" +configuration { + scroll-method: 1; + normalize-match: true; + //matching: "fuzzy"; + //drun-show-actions: true; + monitor: "-1"; + terminal: "sakura"; + combi-hide-mode-prefix: true; -* { - bg: #191724; - cur: #1f1d2e; - fgd: #e0def4; - cmt: #6e6a86; - cya: #9ccfd8; - grn: #31748f; - ora: #ebbcba; - pur: #c4a7e7; - red: #eb6f92; - yel: #f6c177; + modi: "drun"; - font: "JetBrainsMono NF 9"; - - foreground: @fgd; - background: @bg; - active-background: @grn; - urgent-background: @red; - - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @ora; + display-drun: "Run"; + display-dmenu: "Select"; } -#window { - background-color: @background; - border-color: @bordercolor; - padding: 5; -} -#mainbox { - border: 0; - padding: 5; -} -#message { - border: 1px dash 0px 0px ; - border-color: @separatorcolor; - padding: 1px ; -} -#textbox { - text-color: @foreground; -} -#listview { - fixed-height: 0; - border: 1px dash 0px 0px ; - border-color: @bordercolor; - spacing: 2px ; - scrollbar: false; - padding: 2px 0px 0px ; -} -#element { - border: 0; - padding: 1px ; -} -#element.normal.normal { - background-color: @background; - text-color: @foreground; -} -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -#element.normal.active { - background-color: @active-background; - text-color: @background; -} -#element.selected.normal { - background-color: @selected-background; - text-color: @foreground; -} -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; -} -#element.selected.active { - background-color: @selected-active-background; - text-color: @background; -} -#element.alternate.normal { - background-color: @background; - text-color: @foreground; -} -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; -} -#element.alternate.active { - background-color: @active-background; - text-color: @foreground; -} -#scrollbar { - width: 2px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -#sidebar { - border: 2px dash 0px 0px ; - border-color: @separatorcolor; -} -#button.selected { - background-color: @selected-background; - text-color: @foreground; -} -#inputbar { - spacing: 0; - text-color: @foreground; - padding: 1px ; -} -#case-indicator { - spacing: 0; - text-color: @foreground; -} -#entry { - spacing: 0; - text-color: @cya; -} -#prompt { - spacing: 0; - text-color: @grn; -} -#inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -#textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em; - text-color: @grn; -} +@theme "theme.rasi" diff --git a/.config/rofi/dmenu.rasi b/.config/rofi/dmenu.rasi new file mode 100644 index 0000000..6e14fe4 --- /dev/null +++ b/.config/rofi/dmenu.rasi @@ -0,0 +1,65 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + width: 30%; + + //colors catppuccin + //bg: #EFF1F5; + //fg: #4C4F69; + //act: #EA76CB; + //brd: #1e66f5; + + bg: #191724; + fg: #e0def4; + act: #eb6f92; + brd: #c4a7e7; + + //colors tokyonight + //bg: #1a1b26; + //fg: #c0caf5; + //act: #c678dd; + //brd: #7aa2f7; + + background-color: @bg; + text-color: @fg; + font: "Jetbrains Mono 10"; + font: "Symbols Nerd Font 10"; + + border-color: @brd; + text-color: @fg; +} +window { + anchor: north; + location: north; + width: 100%; + padding: 4px; + children: [ horibox ]; +} +horibox { + orientation: horizontal; + children: [ prompt, entry, listview ]; +} +listview { + layout: horizontal; + spacing: 5px; + lines: 100; +} +entry { + expand: false; + width: 10em; +} +element { + padding: 0px 2px; +} +element selected { + background-color: @act; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} diff --git a/.config/rofi/launcher.rasi b/.config/rofi/launcher.rasi new file mode 100755 index 0000000..92ec59b --- /dev/null +++ b/.config/rofi/launcher.rasi @@ -0,0 +1,87 @@ +* { + //colors catppuccin + //bg: #EFF1F5; + //fg: #4C4F69; + //act: #EA76CB; + //brd: #1e66f5; + + bg: #191724; + fg: #e0def4; + act: #eb6f92; + brd: #c4a7e7; + + //colors tokyonight + //bg: #1a1b26; + //fg: #c0caf5; + //act: #c678dd; + //brd: #7aa2f7; + + background-color: @bg; + text-color: @fg; + font: "Jetbrains Mono 10"; + font: "Symbols Nerd Font 10"; +} + +window { + width: 100%; + + location: south; + font: "JetBrains Mono"; + border-color: @act; + //border: 1px; + transparecy: "real"; + children: [ listview, inputbar ]; +} + +inputbar { + //margin: 5px; + background-color: @act; +} + +case-indicator { + enabled: false; +} + +prompt { + padding: 5px 0px 5px 10px; + background-color: @act; + text-color: @bg; +} + +entry { + text-color: @bg; + background-color: @act; + padding: 5px; +} + +listview { + dynamic: true; + fixed-height: false; + cycle: true; + padding: 5px; + reverse: true; +} + +button { + padding: 5px 2px; +} + +button.selected { + background-color: @brd; + text-color: @bg; +} + +element { + padding: 0px 10px; +} + +element.selected { + border: 0 2px 0 2px; + border-color: @brd; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; + padding: 5px; +} diff --git a/.config/rofi/test.rasi b/.config/rofi/test.rasi new file mode 100755 index 0000000..271d0e6 --- /dev/null +++ b/.config/rofi/test.rasi @@ -0,0 +1,132 @@ +/* + * Documentation: https://github.com/davatorium/rofi/wiki + * Config created by Aditya Shakya https://github.com/adi1090x + * Config modified by Keyitdev https://www.github.com/keyitdev/dotfiles + */ + +configuration { + font: "Roboto mono 11"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "~/.config/rofi/colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px 4px 0px 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 25%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "Roboto mono 11"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0; + border-color: @ac; + margin: 3% 1% 1% 1%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 4; + lines: 3; + spacing: 0%; + cycle: true; + dynamic: false; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + horizontal-align: 0.5; + size: 49px; + border: 0px; + background-color: @bg; +} + +element-text { + background-color: @bg; + text-color: @fg; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0; + border-color: @bg; +} + +element-icon selected { + size: 49px; + border: 0px; + background-color: @se; +} + +element-text selected { + background-color: @se; + text-color: @fg; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} diff --git a/.config/rofi/theme.rasi b/.config/rofi/theme.rasi new file mode 100644 index 0000000..b9fc16c --- /dev/null +++ b/.config/rofi/theme.rasi @@ -0,0 +1,139 @@ +@import "default" + +* { + bg: #191724; + cur: #1f1d2e; + fgd: #e0def4; + cmt: #6e6a86; + cya: #9ccfd8; + grn: #31748f; + ora: #ebbcba; + pur: #c4a7e7; + red: #eb6f92; + yel: #f6c177; + + font: "JetBrains Mono 10"; + + foreground: @fgd; + background: @bg; + active-background: @grn; + urgent-background: @red; + + selected-background: @active-background; + selected-urgent-background: @urgent-background; + selected-active-background: @active-background; + separatorcolor: @active-background; + bordercolor: @ora; +} + +window { + background-color: @background; + border-color: @bordercolor; + padding: 5; + anchor: north; + location: north; + y-offset: 25%; +} +mainbox { + border: 0; + padding: 5; +} +message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: false; + border: 2px dash 0px 0px ; + border-color: @bordercolor; + spacing: 2px ; + scrollbar: false; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-icon { + size: 14; +} +element.normal.normal { + background-color: @background; + text-color: @foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @background; +} +element.selected.normal { + background-color: @selected-background; + text-color: @foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @background; +} +element.alternate.normal { + background-color: @background; + text-color: @foreground; +} +element.alternate.urgent { + background-color: @urgent-background; + text-color: @foreground; +} +element.alternate.active { + background-color: @active-background; + text-color: @foreground; +} +scrollbar { + width: 2px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +sidebar { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-background; + text-color: @foreground; +} +inputbar { + spacing: 0; + text-color: @foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @foreground; +} +entry { + spacing: 0; + text-color: @cya; +} +prompt { + spacing: 0; + text-color: @grn; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em; + text-color: @grn; +} diff --git a/.config/sway/config b/.config/sway/config index d1414fb..094504c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -14,193 +14,3 @@ # ======================== Startup ======================== # ============ Modkey ============ -set $super Mod4 -set $term foot -set $menu rofi -show drun -show-icons - -output * bg ~/wallpaper.png fill - -input 1:1:AT_Translated_Set_2_keyboard { - xkb_layout br - xkb_options caps:swapescape -} - -input 1739:33364:Synaptics_TM3336-004 { - tap enabled - drag enabled -} - -# ============ Workspaces Setup ============ -set $ws1 "1:一" -set $ws2 "2:二" -set $ws3 "3:三" -set $ws4 "4:四" -set $ws5 "5:五" -set $ws6 "6:六" -set $ws7 "7:七" -set $ws8 "8:八" -set $ws9 "9:九" -set $ws10 "10:十" - -bindsym $super+1 workspace number $ws1 -bindsym $super+2 workspace number $ws2 -bindsym $super+3 workspace number $ws3 -bindsym $super+4 workspace number $ws4 -bindsym $super+5 workspace number $ws5 -bindsym $super+6 workspace number $ws6 -bindsym $super+7 workspace number $ws7 -bindsym $super+8 workspace number $ws8 -bindsym $super+9 workspace number $ws9 -bindsym $super+0 workspace number $ws10 - -bindsym $super+Shift+1 move container to workspace number $ws1 -bindsym $super+Shift+2 move container to workspace number $ws2 -bindsym $super+Shift+3 move container to workspace number $ws3 -bindsym $super+Shift+4 move container to workspace number $ws4 -bindsym $super+Shift+5 move container to workspace number $ws5 -bindsym $super+Shift+6 move container to workspace number $ws6 -bindsym $super+Shift+7 move container to workspace number $ws7 -bindsym $super+Shift+8 move container to workspace number $ws8 -bindsym $super+Shift+9 move container to workspace number $ws9 -bindsym $super+Shift+0 move container to workspace number $ws10 - -## ============ Colors ============ -set $background #191724 -set $accent #ebbcba -set $border #ebbcba -set $inactive_border #6e5a86 -set $unfocused_border #26233a -set $text #e0def4 -set $indicator #9ccfd8 -set $sec_indicator #908caa -set $urgent #eb6f92 -client.focused $border $background $text $indicator $border -client.focused_inactive $inactive_border $background $text $sec_indicator $inactive_border -client.unfocused $unfocused_border $background $text $sec_indicator $unfocused_border -client.urgent $urgent $background $text $indicator $urgent - -font pango:JetBrainsMono NF 9 -for_window [class=".*"] border pixel 2 -#gaps inner 5 - -bindsym $super+s exec --no-startup-id "i3-big-swap.py" - -# ======================== Keybinds ======================== -# ============ System Keybinds ============ -bindsym $super+Ctrl+c reload -bindsym $super+Ctrl+r restart -bindsym $super+q kill -bindsym $super+Ctrl+Shift+q exec poweroff -bindsym $super+Ctrl+Shift+e exit -bindsym $super+Ctrl+Shift+r exec restart - -bindsym $super+u [urgent=latest] focus - -bindsym $super+Return exec $term -bindsym $super+p exec $menu - -floating_modifier $super - -bindsym $super+b split h -bindsym $super+v split v -bindsym $super+Tab split toggle -bindsym $super+Escape workspace back_and_forth - -bindsym $super+t layout tabbed -bindsym $super+w layout default -bindsym $super+Shift+Tab layout toggle split - -bindsym $super+BackSpace focus mode_toggle -bindsym $super+Shift+BackSpace floating toggle -bindsym $super+Ctrl+BackSpace sticky toggle - -bindsym $super+f fullscreen toggle -bindsym $super+a focus parent -bindsym $super+d focus child - -# ============ Navegation & Focus Keybinds ============ -bindsym $super+h focus left -bindsym $super+j focus down -bindsym $super+k focus up -bindsym $super+l focus right - -bindsym $super+Shift+h move left -bindsym $super+Shift+j move down -bindsym $super+Shift+k move up -bindsym $super+Shift+l move right - -bindsym $super+Ctrl+h resize shrink width 5 px or 5 ppt -bindsym $super+Ctrl+j resize shrink height 5 px or 5 ppt -bindsym $super+Ctrl+k resize grow height 5 px or 5 ppt -bindsym $super+Ctrl+l resize grow width 5 px or 5 ppt - -bindsym $super+Shift+minus move scratchpad -bindsym $super+minus scratchpad show -#bindsym $super+tilda for_window [instace="dropdown_*"] scratchpad show -bindsym $super+g [class="scrcpy"] scratchpad show - -# ============ Funcion Keys ============ -bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5 -bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5 -bindsym XF86AudioMute exec --no-startup-id pamixer -t - -bindsym XF86AudioPlay exec --no-startup-id "mpc toggle" -bindsym XF86AudioNext exec --no-startup-id "mpc next" -bindsym XF86AudioPrev exec --no-startup-id "mpc prev" - -bindsym $super+m mode "music" - -mode "music" { - bindsym a exec --no-startup-id "music album", mode "default" - bindsym m exec --no-startup-id "music title", mode "default" - bindsym s exec --no-startup-id "music artist", mode "default" - - bindsym Escape mode "default" -} - -bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5% -bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 5%- - -# ============ User Keybinds ============ -bindsym $super+Shift+S exec --no-startup-id 'grim -g "$(slurp)" - | wl-copy' - -# ============ System Application Startup ============ -exec_always --no-startup-id "~/.local/bin/hdmi-xrandr --extend" -exec_always --no-startup-id "xwallpaper --zoom \"${HOME}/.config/wallpaper\"" - -exec --no-startup-id picom --experimental-backend & - -# ============ User Application Startup ============ -# ============ Window Rules ============ -for_window [class="Pavucontrol"] floating enable -for_window [title="Picture-in-Picture"] sticky enable -for_window [class="Dragon-drag-and-drop"] sticky enable -for_window [class=".*.exe"] floating enable -for_window [class="scrcpy"] floating enable, sticky enable, move scratchpad, scratchpad show - -assign [class="leagueclient.exe"] $ws5 -assign [class="leagueclientux.exe"] $ws5 -assign [class="riotclientservices.exe"] $ws5 -assign [class="neomutt"] $ws7 -assign [class="weechat"] $ws8 -assign [class="Steam"] $ws9 -assign [class="discord"] $ws10 - -bar { - status_command i3status - strip_workspace_numbers yes - position bottom - colors { - background $background - statusline $text - separator #ff0000 - - # Category Border Background Text - focused_workspace $accent $accent #000000 - active_workspace $unfocused_border $unfocused_border $text - inactive_workspace $background $background $text - urgent_workspace $urgent $urgent $text - binding_mode $background $background $text - - } -} diff --git a/.config/sway/config.d/00-colors b/.config/sway/config.d/00-colors new file mode 100644 index 0000000..990cca4 --- /dev/null +++ b/.config/sway/config.d/00-colors @@ -0,0 +1,16 @@ +set $base #191724 +set $text #e0def4 +set $urgent #eb6f92 +set $border #c4a7e7 +set $indicator #31748f +set $iborder #26233a +set $uborder #1f1d2e +set $sec_indicator #6e6a86 + +set $accent #c4a7e7 + +# client. [ []] +client.focused $border $base $text $indicator $border +client.focused_inactive $iborder $base $text $sec_indicator $iborder +client.unfocused $uborder $base $text $sec_indicator $uborder +client.urgent $urgent $base $text $indicator $urgent diff --git a/.config/sway/config.d/10-input b/.config/sway/config.d/10-input new file mode 100644 index 0000000..50d7074 --- /dev/null +++ b/.config/sway/config.d/10-input @@ -0,0 +1,10 @@ +input "1:1:AT_Translated_Set_2_keyboard" { + xkb_layout br + xkb_options caps:swapescape + xkb_numlock enabled +} + +input "1739:33364:Synaptics_TM3336-004" { + drag enabled + tap enabled +} diff --git a/.config/sway/config.d/10-workspaces b/.config/sway/config.d/10-workspaces new file mode 100644 index 0000000..1d9ec20 --- /dev/null +++ b/.config/sway/config.d/10-workspaces @@ -0,0 +1,44 @@ +set $ws1 "1:一" +set $ws2 "2:二" +set $ws3 "3:三" +set $ws4 "4:四" +set $ws5 "5:五" +set $ws6 "6:六" +set $ws7 "7:七" +set $ws8 "8:八" +set $ws9 "9:九" +set $ws10 "10:十" + +# workspace $ws1 output $monlf +# workspace $ws2 output $monlf +# workspace $ws3 output $monlf +# workspace $ws4 output $monlf +# workspace $ws5 output $monlf +# workspace $ws6 output $monrt +# workspace $ws7 output $monrt +# workspace $ws8 output $monrt +# workspace $ws9 output $monrt +# workspace $ws10 output $monrt + +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + diff --git a/.config/sway/config.d/20-keybinds b/.config/sway/config.d/20-keybinds new file mode 100644 index 0000000..bd8440f --- /dev/null +++ b/.config/sway/config.d/20-keybinds @@ -0,0 +1,73 @@ +bindsym $mod+Ctrl+c reload +bindsym $mod+Ctrl+r restart +bindsym $mod+q kill +bindsym $mod+Ctrl+Shift+q exec poweroff +bindsym $mod+Ctrl+Shift+e exit +bindsym $mod+Ctrl+Shift+r exec restart + +bindsym $mod+u [urgent=latest] focus + +#bindsym $mod+g gaps inner all toggle 5 + +bindsym $mod+Return exec $term +bindsym $mod+p exec $menu +#bindsym $mod+Shift+x exec dm-tool lock + +floating_modifier $mod + +#bindsym $mod+Escape exec "main-menu" + +bindsym $mod+b split h +bindsym $mod+v split v +bindsym $mod+Tab split toggle +bindsym $mod+Escape workspace back_and_forth + +bindsym $mod+t layout tabbed +bindsym $mod+w layout default +bindsym $mod+Shift+Tab layout toggle split + +bindsym $mod+BackSpace focus mode_toggle +bindsym $mod+Shift+BackSpace floating toggle +bindsym $mod+Ctrl+BackSpace sticky toggle + +bindsym $mod+f fullscreen toggle +bindsym $mod+a focus parent +bindsym $mod+Shift+a focus child + +# ============ Navegation & Focus Keybinds ============ +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +bindsym $mod+Ctrl+h resize shrink width 5 px or 5 ppt +bindsym $mod+Ctrl+j resize shrink height 5 px or 5 ppt +bindsym $mod+Ctrl+k resize grow height 5 px or 5 ppt +bindsym $mod+Ctrl+l resize grow width 5 px or 5 ppt + +bindsym $mod+Shift+minus move scratchpad +bindsym $mod+minus scratchpad show +# bindsym $mod+tilda for_window [instace="dropdown_*"] scratchpad show + +# ============ Funcion Keys ============ +bindsym XF86AudioRaiseVolume exec --no-startup-id volume -i 5 +bindsym XF86AudioLowerVolume exec --no-startup-id volume -d 5 +bindsym XF86AudioMute exec --no-startup-id volume -t + +bindsym XF86AudioPlay exec --no-startup-id "mpc toggle" +bindsym XF86AudioNext exec --no-startup-id "mpc next" +bindsym XF86AudioPrev exec --no-startup-id "mpc prev" + +bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5% +bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 5%- + +# ============ User Keybinds ============ +bindsym $mod+Shift+S exec --no-startup-id "printedit -s" +bindsym $mod+Control+S exec --no-startup-id "printedit" + +bindsym $mod+s exec --no-startup-id "i3-big-swap.py" diff --git a/.config/sway/config.d/20-window-rules b/.config/sway/config.d/20-window-rules new file mode 100644 index 0000000..0287c90 --- /dev/null +++ b/.config/sway/config.d/20-window-rules @@ -0,0 +1,9 @@ +for_window [class="Pavucontrol"] floating enable +for_window [title="Picture-in-Picture"] sticky enable +for_window [class="Dragon-drag-and-drop"] sticky enable +for_window [class=".*.exe"] floating enable + +assign [class="Element"] $ws8 +assign [title="WhatsApp — Mozilla Firefox"] $ws8 +assign [class="Steam"] $ws9 +assign [class="discord"] $ws10 diff --git a/.config/sway/config.d/30-bar b/.config/sway/config.d/30-bar new file mode 100644 index 0000000..76a04c0 --- /dev/null +++ b/.config/sway/config.d/30-bar @@ -0,0 +1,17 @@ +bar { + status_command i3status + strip_workspace_numbers yes + position bottom + colors { + background $base + statusline $text + separator #ff0000 + # Category Border Background Text + focused_workspace $accent $accent #000000 + active_workspace $uborder $uborder $text + inactive_workspace $base $base $text + urgent_workspace $urgent $urgent $text + binding_mode $base $base $text + + } +} -- cgit v1.2.3