sporo zmian, nie pamiętam czego :)
This commit is contained in:
		| @@ -15,16 +15,16 @@ def glyph(ws_number): | ||||
|     """ | ||||
|     # glyphs = ["", "", "", "", "", "", "", ""] | ||||
|     glyphs = [ | ||||
|         ".::term:::.", | ||||
|         ".:::web:::.", | ||||
|         ".:::work::.", | ||||
|         ".::((4))::.", | ||||
|         ".::debug::.", | ||||
|         ".::((6))::.", | ||||
|         ".::books::.", | ||||
|         ".::meets::.", | ||||
|         ".::music::.", | ||||
|         ".::mail:::." | ||||
|         ".::term[1]:::.", | ||||
|         ".::web.[2]:::.", | ||||
|         ".::work[3]::.", | ||||
|         ".::code[4]::.", | ||||
|         ".::debu[5]::.", | ||||
|         ".::note[6]:::.", | ||||
|         ".::read[7]::.", | ||||
|         ".::meet[8]::.", | ||||
|         ".::musi[9]::.", | ||||
|         ".::mail[0]:::." | ||||
|     ] | ||||
|     try: | ||||
|         return glyphs[ws_number - 1] | ||||
|   | ||||
| @@ -24,6 +24,8 @@ set $term alacritty | ||||
| set $menu dmenu_path | dmenu | xargs swaymsg exec -- | ||||
|  | ||||
| font Terminus 9 | ||||
| #font pango:SourceCodePro Medium 11 | ||||
|  | ||||
| gaps inner 10 | ||||
| default_border none | ||||
| default_border normal 0 | ||||
|   | ||||
| @@ -27,4 +27,4 @@ client.unfocused        $color2     $background $color1     $color2     $color2 | ||||
| client.urgent           $foreground $background $color7     $foreground $foreground | ||||
|  | ||||
|  | ||||
|  output * bg $wallpaper fill | ||||
| output * bg $wallpaper fill | ||||
|   | ||||
| @@ -1,13 +1,13 @@ | ||||
| # Define names for workspaces | ||||
|  | ||||
| set $ws1 "1: .>" | ||||
| set $ws2 "2: (web)" | ||||
| set $ws3 "3: (work)" | ||||
| set $ws4 "4: (frontend)" | ||||
| set $ws5 "5: (debug)" | ||||
| set $ws1 "1: .::term[1]:::." | ||||
| set $ws2 "2: .::web.[2]:::." | ||||
| set $ws3 "3: .::work[3]:::." | ||||
| set $ws4 "4: .::code[4]::." | ||||
| set $ws5 "5: .::debu[5]::." | ||||
|  | ||||
| set $ws9 "9: (music)" | ||||
| set $ws10 "10: (mail)" | ||||
| set $ws9 "9: .::musi[9]::." | ||||
| set $ws10 "10: .::mail[0]:::." | ||||
|  | ||||
| workspace 1 output eDP-1 | ||||
| workspace 2 output eDP-1 | ||||
|   | ||||
| @@ -18,3 +18,8 @@ | ||||
| input "1:1:AT_Translated_Set_2_keyboard" { | ||||
|     xkb_layout pl | ||||
| } | ||||
|  | ||||
| input "2:10:TPPS/2_Elan_TrackPoint" { | ||||
|     accel_profile "flat" | ||||
|     pointer_accel 0.2 | ||||
| } | ||||
|   | ||||
| @@ -1,10 +1,12 @@ | ||||
| #for_window [class="^.*"] title_format "%title [%class]" | ||||
| #for_window [class="^.*"] border pixel 0 | ||||
| for_window [app_id="(.*)Telegram(.*)"] resize set 900 600, move scratchpad, border pixel 1 | ||||
| for_window [app_id="(.*)telegram(.*)"] resize set 900 600, move scratchpad, border pixel 1 | ||||
| for_window [class="Mattermost"] resize set 900 600, move scratchpad, border pixel 1 | ||||
| for_window [title="WhatsApp"] move scratchpad, border pixel 1 | ||||
| for_window [class="discord"] move scratchpad, border pixel 1 | ||||
| for_window [window_role="floating"] floating enable | ||||
| for_window [class="QSyncthingTray"] floating enable | ||||
| for_window [app_id="(.*)Calendar"] resize set 900 600, move scratchpad | ||||
| for_window [class="Thunderbird" window_type="normal"] move scratchpad, floating enable, resize set 1600 1050, border pixel 2 | ||||
| for_window [class="Nautilus"] floating enable | ||||
| for_window [class="Gnome-calculator"] floating enable | ||||
| @@ -17,4 +19,7 @@ for_window [app_id="zenity"] floating enable | ||||
| for_window [app_id="gnome-calendar"] floating enable | ||||
|  | ||||
|  | ||||
| for_window [class="Joplin"] move scratchpad, floating enable | ||||
| for_window [class="Joplin"] move scratchpad, floating enable | ||||
|  | ||||
| for_window [class="Rofi"] output eDP-1 | ||||
| for_window [title="Firefox — Sharing Indicator"] kill | ||||
|   | ||||
| @@ -10,7 +10,7 @@ | ||||
|  | ||||
|     # Start your launcher | ||||
|     # bindsym $mod+d exec $menu | ||||
|     bindsym $mod+d exec --no-startup-id rofi -show drun | ||||
|     bindsym $mod+d exec --no-startup-id /home/paramah/.config/rofi/launchers/type-3/launcher.sh | ||||
|  | ||||
|     # Drag floating windows by holding down $mod and left mouse button. | ||||
|     # Resize them with right mouse button + $mod. | ||||
| @@ -43,6 +43,7 @@ | ||||
|     bindsym $mod+Shift+$down move down | ||||
|     bindsym $mod+Shift+$up move up | ||||
|     bindsym $mod+Shift+$right move right | ||||
|      | ||||
|     # Ditto, with arrow keys | ||||
|     bindsym $mod+Shift+Left move left | ||||
|     bindsym $mod+Shift+Down move down | ||||
| @@ -164,6 +165,7 @@ bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- | ||||
| ## Modify // Volume up // <XF86AudioRaiseVolume> ## | ||||
| #bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pacmd list-sinks |awk '/* index:/{print $3}') +5% | ||||
| bindsym --locked XF86AudioRaiseVolume exec volumectl up | ||||
| bindsym --locked $mod+Shift+i exec volumectl up | ||||
|  | ||||
| ## Modify // Volume down // <XF86AudioLowerVolume> ## | ||||
| #bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pacmd list-sinks |awk '/* index:/{print $3}') -5% | ||||
| @@ -199,7 +201,7 @@ bindsym $mod+x exec $BIN_DIR/dmenuscreenshare.sh | ||||
| bindsym $mod+p [class="Mattermost"] scratchpad show | ||||
| bindsym $mod+Shift+m [class="Thunderbird"] scratchpad show | ||||
|  | ||||
| bindsym $mod+i exec --no-startup-id rofi -show window -theme /usr/share/rofi-menus-git/themes/appsmenu.rasi | ||||
| bindsym $mod+i exec --no-startup-id /home/paramah/.config/rofi/launchers/type-4/launcher.sh -show window | ||||
| bindsym $mod+Shift+o exec --no-startup-id ~/.config/rofi/scripts/nmvpnmenu.sh | ||||
| bindsym $mod+o exec --no-startup-id ~/.config/rofi/scripts/sound.sh | ||||
|  | ||||
| @@ -211,3 +213,6 @@ bindsym $mod+u exec env RUST_BACKTRACE=1 swayr switch-window >> /tmp/swayr.log 2 | ||||
| bindsym $mod+Tab exec env RUST_BACKTRACE=1 swayr switch-to-urgent-or-lru-window >> /tmp/swayr.log 2>&1 | ||||
|  | ||||
| bindsym $mod+$alt+Space exec env RUST_BACKTRACE=1 swayr switch-workspace-or-window >> /tmp/swayr.log 2>&1 | ||||
|  | ||||
|  | ||||
| bindsym $mod+c [app_id="(.*)Calendar"] scratchpad show | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| exec --no-startup-id swaymsg 'workspace number 1; exec alacritty; workspace number 10; exec thunderbird; workspace number 9; exec spotify; workspace number 2; exec brave' | ||||
| exec --no-startup-id swaymsg 'workspace number 1; exec alacritty; workspace number 10; exec thunderbird; workspace number 9; exec spotify; workspace number 2; exec firefox' | ||||
|  | ||||
| exec wl-paste -t text --watch clipman store | ||||
| exec nm-applet --indicator | ||||
| @@ -23,4 +23,5 @@ exec --no-startup-id swaymsg rename workspace number 10 to $ws10 | ||||
|  | ||||
|  | ||||
| exec ~/.config/sway/bin/session.sh | ||||
| #exec ~/.config/sway/bin/assign-cgroups.py | ||||
| #exec ~/.config/sway/bin/assign-cgroups.py | ||||
| exec_always "systemctl --user restart kanshi.service" | ||||
		Reference in New Issue
	
	Block a user