├── README.md
├── cheatsheet
├── config
├── geany
│ ├── colorschemes
│ │ ├── catppuccin-frappe.conf
│ │ ├── catppuccin-latte.conf
│ │ ├── catppuccin-macchiato.conf
│ │ └── catppuccin-mocha.conf
│ ├── filedefs
│ │ └── filetypes.README
│ ├── geany.conf
│ ├── keybindings.conf
│ └── templates
│ │ └── templates.README
├── gtk-3.0
│ ├── bookmarks
│ └── settings.ini
├── kitty
│ ├── Catppuccin-Mocha.conf
│ ├── current-theme.conf
│ ├── kitty.conf
│ └── kitty.conf.bak
├── neofetch
│ ├── config.conf
│ └── logo
├── sway
│ ├── config
│ ├── config.d
│ │ ├── application_defaults
│ │ ├── autostart_applications
│ │ ├── clamshell
│ │ ├── default
│ │ ├── input
│ │ ├── output
│ │ └── theme
│ ├── keyboard.conf
│ └── scripts
│ │ ├── clamshell.sh
│ │ ├── import-gsettings
│ │ ├── lockman.sh
│ │ ├── screenshot.sh
│ │ ├── swayfader.py
│ │ └── weather.sh
├── waybar
│ ├── config
│ ├── icons
│ ├── scripts
│ │ └── wttr.py
│ └── style.css
└── wofi
│ ├── config
│ ├── scripts
│ └── powermenu.sh
│ ├── style.css
│ └── wofi-power.sh
└── pmxrh3o9rdgb1.png
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
✨ simple and a minimal sway rice
6 |
7 | Welcome and thanks for dropping by! These are my sway configs that i have been working and testing on!
8 |
9 | Hope you like it!
10 |
11 |
12 | ## ⚡ Dependencies
13 |
14 | ```
15 | > OS: EndeavourOS
16 |
17 | > WM: Sway
18 |
19 | > Topbar: Waybar
20 |
21 | > Menu: Wofi
22 |
23 | > GTK: Catpuccin-Mocha
24 |
25 | > Font: JetBrains mono
26 |
27 | > Terminal: Kitty
28 |
29 | > TextEditor: Geany
30 |
31 | > File manager: Thunar
32 | ```
33 |
34 |
35 |
36 | 📸 Screenshots
37 |
38 |
39 |
40 | **Desktop:**
41 |
42 | 
43 |
44 | **Transparency:**
45 |
46 | 
47 |
48 | **Launcher:**
49 |
50 | 
51 |
52 | **PowerMenu:**
53 |
54 | 
55 |
56 |
57 |
58 | ## Installation
59 |
60 | *Disclaimer: Edit the resolutions and other things for ur device before replacing ur your configs,copying the text below will open up the waybar config file for you to change resolutions.. The second edit you would have to make is for wallpaper(set the location of the wallpaer in line **18**)*
61 |
62 | ```bash
63 | git clone https://github.com/laggy-tux/sway-Dots.git
64 | cd sway-Dots
65 | nano ~/.config/waybar/config
66 | nano ~/.config/sway/config.d/theme
67 | ```
68 | > copy the files to the **.config** dir
69 | >
70 | > **super+Shift+C** to reload.
71 |
72 | ##
73 |
74 | ## Things to look out for
75 |
76 | > *Refer the [cheatSheet](https://github.com/laggy-tux/sway-Dots/blob/main/cheatsheet) as modifications have been made to the sway shortcuts*
77 | >
78 | > To add and remove stuufs to the *waybar* check ```~/.config.waybar/config``` there are modules for weather and other things which i have not added
79 | >
80 | > If the powermenu does not work please:
81 | ```
82 | chmod +x path/to/wofi-power.sh
83 | ./wofi-power.sh
84 | ```
85 |
86 | ##
87 |
88 | ## Rice specific info
89 |
90 | > Does not use any motification manager because I dont really need any notifications popping up
91 | >
92 | > Does use transparency
93 | >
94 | > Only has 5 workspaces due to me not requiring any more than that... incase more is needed, it can be added
95 |
96 | ##
97 |
98 | If any issues please raise it.. i'll try my best to rectify :)
99 |
100 |
101 |
--------------------------------------------------------------------------------
/cheatsheet:
--------------------------------------------------------------------------------
1 | EndeavourOS Sway-WM CheatSheet(modified) :
2 |
3 | = windows key
4 |
5 | # start floating kitty
6 | +Return
7 |
8 | # start fixed termite-terminal
9 | +Shift+Return
10 |
11 | # kill focused window
12 | +q
13 |
14 | # Application menu - wofi:
15 | +d
16 |
17 | # Activities:
18 | +p
19 |
20 | # Power-Menu:
21 | +x
22 |
23 | # Lock the system
24 | +f1
25 |
26 | # reload the configuration file
27 | +Shift+c
28 |
29 | # change window focus,like vim
30 | +h focus left
31 | +j focus down
32 | +k focus up
33 | +l focus right
34 |
35 | # alternatively, you can use the cursor keys:
36 | +Left focus left
37 | +Down focus down
38 | +Up focus up
39 | +Right focus right
40 |
41 | # move a focused window
42 | +Shift+h move left
43 | +Shift+j move down
44 | +Shift+k move up
45 | +Shift+l move right
46 |
47 | # alternatively, you can use the cursor keys:
48 | +Shift+Left move left
49 | +Shift+Down move down
50 | +Shift+Up move up
51 | +Shift+Right move right
52 |
53 | # split in horizontal orientation (changes take place on next opened window):
54 | +b
55 |
56 | # split in vertical orientation (changes take place on next opened window):
57 | +v
58 |
59 | # enter fullscreen mode for the focused container:
60 | +f fullscreen toggle
61 |
62 | # change container layout (stacked, tabbed, toggle split):
63 | +s layout stacking
64 | +o layout tabbed
65 | +e layout toggle split
66 |
67 | # toggle tiling / floating:
68 | +Shift+space floating toggle
69 |
70 | # change focus between tiling / floating windows:
71 | +space focus mode_toggle
72 |
73 | # focus the parent container:
74 | +a focus parent
75 |
76 | # resize floating window:
77 | +right mouse button
78 |
79 | # move floating window:
80 | +left mouse button
81 |
82 | # scratchpad:
83 | +Shift+Minus move scratchpad
84 | +minus scratchpad cycle
85 |
86 | # resize mode:
87 | +r
88 |
89 | # resize,like vim:
90 | h focus left
91 | j focus down
92 | k focus up
93 | l focus right
94 |
95 | # alternatively, you can use the cursor keys:
96 | Left focus left
97 | Down focus down
98 | Up focus up
99 | Right focus right
100 |
101 | # Return to default mode:
102 | Return or Escape
103 |
104 | # Workspaces:
105 | #
106 | # Switch to workspace
107 | +1 workspace number 1
108 | +2 workspace number 2
109 | +3 workspace number 3
110 | +4 workspace number 4
111 | +5 workspace number 5
112 | +6 workspace number 6
113 | +7 workspace number 7
114 | +8 workspace number 8
115 | +9 workspace number 9
116 | +0 workspace number 10
117 | # Move focused container to workspace:
118 | +Shift+1 move container to workspace number 1
119 | +Shift+2 move container to workspace number 2
120 | +Shift+3 move container to workspace number 3
121 | +Shift+4 move container to workspace number 4
122 | +Shift+5 move container to workspace number 5
123 | +Shift+6 move container to workspace number 6
124 | +Shift+7 move container to workspace number 7
125 | +Shift+8 move container to workspace number 8
126 | +Shift+9 move container to workspace number 9
127 | +Shift+0 move container to workspace number 10
128 |
129 |
130 | # Multimedia Keys (be aware that these may not work for every keyboard):
131 | They are enabled - you may need to hold down the function key while doing so.
132 |
133 | # Screenshots:
134 | PrintSrc for full screenshot
135 | Shift+PrintSrc for screenshot options
136 |
137 | # App Shortcuts:
138 | +z thunar
139 | +w firefox
140 |
141 |
142 | # Other Things:
143 |
144 | # Input - ~/.config/sway/config.d/input
145 | # You can get the names of your inputs by running: swaymsg -t get_inputs
146 | # Put your touchpad's IDENFICATOR to replace "Touchpad-ID" (keep the quotation marks)
147 | # Read `man 5 sway-input` for more information about this section.
148 |
149 | # Output - ~/.config/sway/config.d/output
150 | # You can get the names of your outputs by running: swaymsg -t get_outputs
151 | # Read `man 5 sway-output` for more information about this section.
152 |
153 | # Wallpaper - ~/.config/sway/config.d/theme
154 | # exec swaybg -i /path/to/wallpaper
155 |
156 | # Waybar - ~/.config/waybar/config : ~/.config/waybar/style.css
157 | # It is an external bar we have chosen because of the option's it allows.
158 | # If you wish to use the default swaybar - ~/.config/sway/config.d/theme and change waybar to sway-bar
159 | # Read `man 5 sway-bar` for more information about this section
160 |
161 | # Autostart - ~/.config/sway/config.d/autostart_applications
162 |
163 |
164 |
165 |
166 |
167 |
--------------------------------------------------------------------------------
/config/geany/colorschemes/catppuccin-frappe.conf:
--------------------------------------------------------------------------------
1 | #
2 | # catppuccin.conf
3 | #
4 | # Copyright 2022 waxxx333
5 | # Reference the filetypes files before editing this config file.
6 | #
7 | [theme_info]
8 | name=Catppuccin Frappe
9 | description=Soothing pastel theme for the high-spirited!
10 | version=0.2.5
11 | author=Isabelinc
12 | compat=1.22;1.23;1.23.1;1.24
13 |
14 | [named_colors]
15 | mantle=#292c3c
16 | base=#303446
17 | surface0=#414559
18 | #
19 | text=#c6d0f5
20 | subtext0=#A5ADCE
21 | subtext1=#B5BFE2
22 | #
23 | overlay2=#949CBB
24 | overlay1=#838BA7
25 | overlay0=#737994
26 | #
27 | blue=#8CAAEE
28 | sky=#99d1db
29 | teal=#81c8be
30 | #
31 | yellow=#e5c890
32 | #
33 | green=#a6d189
34 | #
35 | flamingo=#eebebe
36 | mauve=#ca9ee6
37 | pink=#f4b8e4
38 | maroon=#ea999c
39 | red=#e78284
40 | peach=#ef9f76
41 | rosewater=#f2d5cf
42 | lavender=#babbf1
43 | sapphire=#85c1dc
44 |
45 |
46 | [named_styles]
47 | operator=blue
48 | default=subtext1;base;false;false
49 | error=red;yellow;false;true
50 | op=blue;base;true;false
51 | # Editor UI
52 | # selection: words; background
53 | selection=pink;blue;false;false
54 | current_line=;surface0;true
55 | brace_good=green;overlay1;true;true
56 | brace_bad=red;overlay1;true;true
57 | margin_line_number=text;base
58 | margin_folding=text;surface0
59 | fold_symbol_highlight=text
60 | indent_guide=overlay1
61 | caret=text;;false
62 | marker_line=yellow;yellow
63 | marker_search=mantle;blue
64 | marker_mark=green;surface0
65 | call_tips=overlay1;text;false;false
66 | white_space=overlay1;;true
67 |
68 | # Basic langs
69 | comment=overlay0
70 | comment_doc=comment
71 | comment_line=overlay0
72 | comment_line_doc=comment_doc
73 | comment_doc_keyword=comment,bold
74 | comment_doc_keyword_error=comment,italic
75 |
76 | number=teal
77 | number_1=number
78 | number_2=number_1
79 |
80 | # class
81 | type=pink;;flase;true;
82 |
83 | class=blue
84 | # def
85 | function=teal;;false;true;
86 | parameter=peach
87 |
88 |
89 | keyword=default
90 | # def, for, in
91 | keyword_1=red;;false;true
92 | keyword_2=default
93 | keyword_3=peach
94 | keyword_4=keyword_2
95 |
96 | identifier=sky;;false;false
97 | # main
98 | identifier_1=subtext0;;false;false
99 | identifier_2=default
100 | identifier_3=identifier_2
101 | identifier_4=identifier_2
102 |
103 | string=green;;false;false
104 | string_1=peach;;false;false
105 | string_2=green;;false;false
106 | string_3=default
107 | string_4=default
108 | string_eol=string_1
109 | character=string_1
110 | backticks=string_2
111 | here_doc=string_2
112 |
113 | scalar=string_2
114 | label=red
115 | preprocessor=green
116 | regex=pink
117 | operator=lavender;;true;false
118 | decorator=string_1
119 | other=default
120 | extra=keyword;
121 |
122 | # Markup
123 | tag=keyword
124 | tag_unknown=tag,bold
125 | tag_end=tag,bold
126 | attribute=type
127 | attribute_unknown=attribute,bold
128 | value=number
129 | entity=number
130 |
131 | # Diff
132 | line_added=green
133 | line_removed=red
134 | line_changed=preprocessor
135 |
--------------------------------------------------------------------------------
/config/geany/colorschemes/catppuccin-latte.conf:
--------------------------------------------------------------------------------
1 | #
2 | # catppuccin.conf
3 | #
4 | # Copyright 2022 waxxx333
5 | # Reference the filetypes files before editing this config file.
6 | #
7 | [theme_info]
8 | name=Catppuccin Latte
9 | description=Soothing pastel theme for the high-spirited!
10 | version=0.2.5
11 | author=Isabelinc
12 | compat=1.22;1.23;1.23.1;1.24
13 |
14 | [named_colors]
15 | mantle=#e6e9ef
16 | base=#eff1f5
17 | surface0=#ccd0da
18 | #
19 | text=#4c4f69
20 | subtext0=#6C6F85
21 | subtext1=#5C5F77
22 | #
23 | overlay2=#7C7F93
24 | overlay1=#8C8FA1
25 | overlay0=#9CA0B0
26 | #
27 | blue=#1E66F5
28 | sky=#04a5e5
29 | teal=#179299
30 | #
31 | yellow=#df8e1d
32 | #
33 | green=#40a02b
34 | #
35 | flamingo=#dd7878
36 | mauve=#8839ef
37 | pink=#ea76cb
38 | maroon=#e64553
39 | red=#d20f39
40 | peach=#fe640b
41 | rosewater=#dc8a78
42 | lavender=#7287fd
43 | sapphire=#209fb5
44 |
45 |
46 | [named_styles]
47 | operator=blue
48 | default=subtext1;base;false;false
49 | error=red;yellow;false;true
50 | op=blue;base;true;false
51 | # Editor UI
52 | # selection: words; background
53 | selection=pink;blue;false;false
54 | current_line=;surface0;true
55 | brace_good=green;overlay1;true;true
56 | brace_bad=red;overlay1;true;true
57 | margin_line_number=text;base
58 | margin_folding=text;surface0
59 | fold_symbol_highlight=text
60 | indent_guide=overlay1
61 | caret=text;;false
62 | marker_line=yellow;yellow
63 | marker_search=mantle;blue
64 | marker_mark=green;surface0
65 | call_tips=overlay1;text;false;false
66 | white_space=overlay1;;true
67 |
68 | # Basic langs
69 | comment=overlay0
70 | comment_doc=comment
71 | comment_line=overlay0
72 | comment_line_doc=comment_doc
73 | comment_doc_keyword=comment,bold
74 | comment_doc_keyword_error=comment,italic
75 |
76 | number=teal
77 | number_1=number
78 | number_2=number_1
79 |
80 | # class
81 | type=pink;;flase;true;
82 |
83 | class=blue
84 | # def
85 | function=teal;;false;true;
86 | parameter=peach
87 |
88 |
89 | keyword=default
90 | # def, for, in
91 | keyword_1=red;;false;true
92 | keyword_2=default
93 | keyword_3=peach
94 | keyword_4=keyword_2
95 |
96 | identifier=sky;;false;false
97 | # main
98 | identifier_1=subtext0;;false;false
99 | identifier_2=default
100 | identifier_3=identifier_2
101 | identifier_4=identifier_2
102 |
103 | string=green;;false;false
104 | string_1=peach;;false;false
105 | string_2=green;;false;false
106 | string_3=default
107 | string_4=default
108 | string_eol=string_1
109 | character=string_1
110 | backticks=string_2
111 | here_doc=string_2
112 |
113 | scalar=string_2
114 | label=red
115 | preprocessor=green
116 | regex=pink
117 | operator=lavender;;true;false
118 | decorator=string_1
119 | other=default
120 | extra=keyword;
121 |
122 | # Markup
123 | tag=keyword
124 | tag_unknown=tag,bold
125 | tag_end=tag,bold
126 | attribute=type
127 | attribute_unknown=attribute,bold
128 | value=number
129 | entity=number
130 |
131 | # Diff
132 | line_added=green
133 | line_removed=red
134 | line_changed=preprocessor
135 |
--------------------------------------------------------------------------------
/config/geany/colorschemes/catppuccin-macchiato.conf:
--------------------------------------------------------------------------------
1 | #
2 | # catppuccin.conf
3 | #
4 | # Copyright 2022 waxxx333
5 | # Reference the filetypes files before editing this config file.
6 | #
7 | [theme_info]
8 | name=Catppuccin Macchiato
9 | description=Soothing pastel theme for the high-spirited!
10 | version=0.2.5
11 | author=Isabelinc
12 | compat=1.22;1.23;1.23.1;1.24
13 |
14 | [named_colors]
15 | mantle=#1e2030
16 | base=#24273a
17 | surface0=#363a4f
18 | #
19 | text=#cad3f5
20 | subtext0=#A5ADCB
21 | subtext1=#B8C0E0
22 | #
23 | overlay2=#939AB7
24 | overlay1=#8087A2
25 | overlay0=#6E738D
26 | #
27 | blue=#8AADF4
28 | sky=#91d7e3
29 | teal=#8bd5ca
30 | #
31 | yellow=#eed49f
32 | #
33 | green=#a6da95
34 | #
35 | flamingo=#f0c6c6
36 | mauve=#c6a0f6
37 | pink=#f5bde6
38 | maroon=#ee99a0
39 | red=#ed8796
40 | peach=#f5a97f
41 | rosewater=#f4dbd6
42 | lavender=#b7bdf8
43 | sapphire=#7dc4e4
44 |
45 |
46 | [named_styles]
47 | operator=blue
48 | default=subtext1;base;false;false
49 | error=red;yellow;false;true
50 | op=blue;base;true;false
51 | # Editor UI
52 | # selection: words; background
53 | selection=pink;blue;false;false
54 | current_line=;surface0;true
55 | brace_good=green;overlay1;true;true
56 | brace_bad=red;overlay1;true;true
57 | margin_line_number=text;base
58 | margin_folding=text;surface0
59 | fold_symbol_highlight=text
60 | indent_guide=overlay1
61 | caret=text;;false
62 | marker_line=yellow;yellow
63 | marker_search=mantle;blue
64 | marker_mark=green;surface0
65 | call_tips=overlay1;text;false;false
66 | white_space=overlay1;;true
67 |
68 | # Basic langs
69 | comment=overlay0
70 | comment_doc=comment
71 | comment_line=overlay0
72 | comment_line_doc=comment_doc
73 | comment_doc_keyword=comment,bold
74 | comment_doc_keyword_error=comment,italic
75 |
76 | number=teal
77 | number_1=number
78 | number_2=number_1
79 |
80 | # class
81 | type=pink;;flase;true;
82 |
83 | class=blue
84 | # def
85 | function=teal;;false;true;
86 | parameter=peach
87 |
88 |
89 | keyword=default
90 | # def, for, in
91 | keyword_1=red;;false;true
92 | keyword_2=default
93 | keyword_3=peach
94 | keyword_4=keyword_2
95 |
96 | identifier=sky;;false;false
97 | # main
98 | identifier_1=subtext0;;false;false
99 | identifier_2=default
100 | identifier_3=identifier_2
101 | identifier_4=identifier_2
102 |
103 | string=green;;false;false
104 | string_1=peach;;false;false
105 | string_2=green;;false;false
106 | string_3=default
107 | string_4=default
108 | string_eol=string_1
109 | character=string_1
110 | backticks=string_2
111 | here_doc=string_2
112 |
113 | scalar=string_2
114 | label=red
115 | preprocessor=green
116 | regex=pink
117 | operator=lavender;;true;false
118 | decorator=string_1
119 | other=default
120 | extra=keyword;
121 |
122 | # Markup
123 | tag=keyword
124 | tag_unknown=tag,bold
125 | tag_end=tag,bold
126 | attribute=type
127 | attribute_unknown=attribute,bold
128 | value=number
129 | entity=number
130 |
131 | # Diff
132 | line_added=green
133 | line_removed=red
134 | line_changed=preprocessor
135 |
--------------------------------------------------------------------------------
/config/geany/colorschemes/catppuccin-mocha.conf:
--------------------------------------------------------------------------------
1 | #
2 | # catppuccin.conf
3 | #
4 | # Copyright 2022 waxxx333
5 | # Reference the filetypes files before editing this config file.
6 | #
7 | [theme_info]
8 | name=Catppuccin Mocha
9 | description=Soothing pastel theme for the high-spirited!
10 | version=0.2.5
11 | author=Isabelinc
12 | compat=1.22;1.23;1.23.1;1.24
13 |
14 | [named_colors]
15 | mantle=#181825
16 | base=#1E1E2E
17 | surface0=#313244
18 | #
19 | text=#C6D0F5
20 | subtext0=#A1A8C9
21 | subtext1=#B3BCDF
22 | #
23 | overlay2=#8E95B3
24 | overlay1=#7B819D
25 | overlay0=#696D86
26 | #
27 | blue=#87B0F9
28 | sky=#89DCEB
29 | teal=#94E2D5
30 | #
31 | yellow=#F9E2AF
32 | #
33 | green=#A6E3A1
34 | #
35 | flamingo=#F2CDCD
36 | mauve=#CBA6F7
37 | pink=#F5C2E7
38 | maroon=#EBA0AC
39 | red=#F38BA8
40 | peach=#FAB387
41 | rosewater=#F5E0DC
42 | lavender=#B4BEFE
43 | sapphire=#74C7EC
44 |
45 |
46 | [named_styles]
47 | operator=blue
48 | default=subtext1;base;false;false
49 | error=red;yellow;false;true
50 | op=blue;base;true;false
51 | # Editor UI
52 | # selection: words; background
53 | selection=pink;blue;false;false
54 | current_line=;surface0;true
55 | brace_good=green;overlay1;true;true
56 | brace_bad=red;overlay1;true;true
57 | margin_line_number=text;base
58 | margin_folding=text;surface0
59 | fold_symbol_highlight=text
60 | indent_guide=overlay1
61 | caret=text;;false
62 | marker_line=yellow;yellow
63 | marker_search=mantle;blue
64 | marker_mark=green;surface0
65 | call_tips=overlay1;text;false;false
66 | white_space=overlay1;;true
67 |
68 | # Basic langs
69 | comment=overlay0
70 | comment_doc=comment
71 | comment_line=overlay0
72 | comment_line_doc=comment_doc
73 | comment_doc_keyword=comment,bold
74 | comment_doc_keyword_error=comment,italic
75 |
76 | number=teal
77 | number_1=number
78 | number_2=number_1
79 |
80 | # class
81 | type=pink;;flase;true;
82 |
83 | class=blue
84 | # def
85 | function=teal;;false;true;
86 | parameter=peach
87 |
88 |
89 | keyword=default
90 | # def, for, in
91 | keyword_1=red;;false;true
92 | keyword_2=default
93 | keyword_3=peach
94 | keyword_4=keyword_2
95 |
96 | identifier=sky;;false;false
97 | # main
98 | identifier_1=subtext0;;false;false
99 | identifier_2=default
100 | identifier_3=identifier_2
101 | identifier_4=identifier_2
102 |
103 | string=green;;false;false
104 | string_1=peach;;false;false
105 | string_2=green;;false;false
106 | string_3=default
107 | string_4=default
108 | string_eol=string_1
109 | character=string_1
110 | backticks=string_2
111 | here_doc=string_2
112 |
113 | scalar=string_2
114 | label=red
115 | preprocessor=green
116 | regex=pink
117 | operator=lavender;;true;false
118 | decorator=string_1
119 | other=default
120 | extra=keyword;
121 |
122 | # Markup
123 | tag=keyword
124 | tag_unknown=tag,bold
125 | tag_end=tag,bold
126 | attribute=type
127 | attribute_unknown=attribute,bold
128 | value=number
129 | entity=number
130 |
131 | # Diff
132 | line_added=green
133 | line_removed=red
134 | line_changed=preprocessor
135 |
--------------------------------------------------------------------------------
/config/geany/filedefs/filetypes.README:
--------------------------------------------------------------------------------
1 | Copy files from /usr/share/geany/filedefs to this directory to overwrite them. To use the defaults, just delete the file in this directory.
2 | For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/).
--------------------------------------------------------------------------------
/config/geany/geany.conf:
--------------------------------------------------------------------------------
1 | [geany]
2 | default_open_path=
3 | cmdline_new_files=true
4 | notebook_double_click_hides_widgets=false
5 | tab_close_switch_to_mru=false
6 | tab_pos_sidebar=2
7 | sidebar_pos=0
8 | symbols_sort_mode=0
9 | msgwin_orientation=1
10 | highlighting_invert_all=false
11 | pref_main_search_use_current_word=true
12 | check_detect_indent=false
13 | detect_indent_width=false
14 | use_tab_to_indent=true
15 | pref_editor_tab_width=4
16 | indent_mode=2
17 | indent_type=1
18 | virtualspace=1
19 | autocomplete_doc_words=false
20 | completion_drops_rest_of_word=false
21 | autocompletion_max_entries=30
22 | autocompletion_update_freq=250
23 | color_scheme=catppuccin-mocha.conf
24 | scroll_lines_around_cursor=0
25 | mru_length=10
26 | disk_check_timeout=30
27 | show_editor_scrollbars=true
28 | brace_match_ltgt=false
29 | use_gtk_word_boundaries=true
30 | complete_snippets_whilst_editing=false
31 | indent_hard_tab_width=8
32 | editor_ime_interaction=0
33 | use_atomic_file_saving=false
34 | gio_unsafe_save_backup=false
35 | use_gio_unsafe_file_saving=true
36 | keep_edit_history_on_reload=true
37 | show_keep_edit_history_on_reload_msg=false
38 | reload_clean_doc_on_file_change=false
39 | save_config_on_file_change=true
40 | extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*-
41 | allow_always_save=false
42 | find_selection_type=0
43 | replace_and_find_by_default=true
44 | show_symbol_list_expanders=true
45 | compiler_tab_autoscroll=true
46 | statusbar_template=line: %l / %L col: %c sel: %s %w %t %mmode: %M encoding: %e filetype: %f scope: %S
47 | new_document_after_close=false
48 | msgwin_status_visible=true
49 | msgwin_compiler_visible=true
50 | msgwin_messages_visible=true
51 | msgwin_scribble_visible=true
52 | documents_show_paths=true
53 | sidebar_page=0
54 | pref_main_load_session=true
55 | pref_main_project_session=true
56 | pref_main_project_file_in_basedir=false
57 | pref_main_save_winpos=true
58 | pref_main_save_wingeom=true
59 | pref_main_confirm_exit=false
60 | pref_main_suppress_status_messages=false
61 | switch_msgwin_pages=false
62 | beep_on_errors=true
63 | auto_focus=false
64 | sidebar_symbol_visible=true
65 | sidebar_openfiles_visible=true
66 | editor_font=Monospace 10
67 | tagbar_font=Sans 9
68 | msgwin_font=Monospace 9
69 | show_notebook_tabs=true
70 | show_tab_cross=true
71 | tab_order_ltr=true
72 | tab_order_beside=false
73 | tab_pos_editor=2
74 | tab_pos_msgwin=0
75 | use_native_windows_dialogs=false
76 | show_indent_guide=false
77 | show_white_space=false
78 | show_line_endings=false
79 | show_markers_margin=true
80 | show_linenumber_margin=false
81 | long_line_enabled=true
82 | long_line_type=0
83 | long_line_column=72
84 | long_line_color=#C2EBC2
85 | symbolcompletion_max_height=10
86 | symbolcompletion_min_chars=4
87 | use_folding=true
88 | unfold_all_children=false
89 | use_indicators=true
90 | line_wrapping=false
91 | auto_close_xml_tags=true
92 | complete_snippets=true
93 | auto_complete_symbols=true
94 | pref_editor_disable_dnd=false
95 | pref_editor_smart_home_key=true
96 | pref_editor_newline_strip=false
97 | line_break_column=72
98 | auto_continue_multiline=true
99 | comment_toggle_mark=~
100 | scroll_stop_at_last_line=true
101 | autoclose_chars=0
102 | pref_editor_default_new_encoding=UTF-8
103 | pref_editor_default_open_encoding=none
104 | default_eol_character=2
105 | pref_editor_new_line=true
106 | pref_editor_ensure_convert_line_endings=false
107 | pref_editor_replace_tabs=false
108 | pref_editor_trail_space=false
109 | pref_toolbar_show=true
110 | pref_toolbar_append_to_menu=false
111 | pref_toolbar_use_gtk_default_style=true
112 | pref_toolbar_use_gtk_default_icon=true
113 | pref_toolbar_icon_style=0
114 | pref_toolbar_icon_size=0
115 | pref_template_developer=Joy Yahshua
116 | pref_template_company=
117 | pref_template_mail=lagg@dell
118 | pref_template_initial=JY
119 | pref_template_version=1.0
120 | pref_template_year=%Y
121 | pref_template_date=%Y-%m-%d
122 | pref_template_datetime=%d.%m.%Y %H:%M:%S %Z
123 | context_action_cmd=
124 | sidebar_visible=true
125 | statusbar_visible=true
126 | msgwindow_visible=true
127 | fullscreen=false
128 | color_picker_palette=
129 | scribble_text=Type here what you want, use it as a notice/scratch board
130 | scribble_pos=57
131 | treeview_position=246
132 | msgwindow_position=754
133 | geometry=0;0;1596;860;1;
134 | custom_date_format=
135 |
136 | [build-menu]
137 | number_ft_menu_items=0
138 | number_non_ft_menu_items=0
139 | number_exec_menu_items=0
140 |
141 | [search]
142 | pref_search_hide_find_dialog=false
143 | pref_search_always_wrap=false
144 | pref_search_current_file_dir=true
145 | find_all_expanded=false
146 | replace_all_expanded=false
147 | position_find_x=-1
148 | position_find_y=-1
149 | position_replace_x=0
150 | position_replace_y=0
151 | position_fif_x=-1
152 | position_fif_y=-1
153 | fif_regexp=false
154 | fif_case_sensitive=true
155 | fif_match_whole_word=false
156 | fif_invert_results=false
157 | fif_recursive=false
158 | fif_extra_options=
159 | fif_use_extra_options=false
160 | fif_files=
161 | fif_files_mode=0
162 | find_regexp=false
163 | find_regexp_multiline=false
164 | find_case_sensitive=false
165 | find_escape_sequences=false
166 | find_match_whole_word=false
167 | find_match_word_start=false
168 | find_close_dialog=true
169 | replace_regexp=false
170 | replace_regexp_multiline=false
171 | replace_case_sensitive=false
172 | replace_escape_sequences=false
173 | replace_match_whole_word=false
174 | replace_match_word_start=false
175 | replace_search_backwards=false
176 | replace_close_dialog=true
177 |
178 | [plugins]
179 | load_plugins=true
180 | custom_plugin_path=
181 | active_plugins=;
182 |
183 | [VTE]
184 | send_cmd_prefix=
185 | send_selection_unsafe=false
186 | load_vte=true
187 | font=Monospace 10
188 | scroll_on_key=true
189 | scroll_on_out=true
190 | enable_bash_keys=true
191 | ignore_menu_bar_accel=false
192 | follow_path=false
193 | run_in_vte=false
194 | skip_run_script=false
195 | cursor_blinks=false
196 | scrollback_lines=500
197 | shell=/bin/bash
198 | colour_fore=#FFFFFF
199 | colour_back=#000000
200 | last_dir=/home/lagg
201 |
202 | [tools]
203 | terminal_cmd=xterm -e "/bin/sh %c"
204 | browser_cmd=firefox
205 | grep_cmd=grep
206 |
207 | [printing]
208 | print_cmd=
209 | use_gtk_printing=true
210 | print_line_numbers=true
211 | print_page_numbers=true
212 | print_page_header=true
213 | page_header_basename=false
214 | page_header_datefmt=%c
215 |
216 | [project]
217 | session_file=
218 | project_file_path=/home/lagg/projects
219 |
220 | [files]
221 | recent_files=/home/lagg/.config/sway/config.d/default;/home/lagg/.config/sway/config.d/application_defaults;/home/lagg/.config/sway/config;/home/lagg/.config/sway/config.d/autostart_applications;/home/lagg/.config/neofetch/config.conf;/home/lagg/.config/sway/scripts/screenshot.sh;/home/lagg/.config/waybar/config;/home/lagg/.config/waybar/icons;/home/lagg/.config/sway/config.d/clamshell;/home/lagg/.config/sway/keyboard.conf;
222 | recent_projects=
223 | current_page=0
224 | FILE_NAME_0=14592;Conf;0;EUTF-8;1;1;0;%2Fhome%2Flagg%2F.config%2Fneofetch%2Fconfig.conf;0;4
225 |
--------------------------------------------------------------------------------
/config/geany/keybindings.conf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/laggy-tux/sway-Dots/27b5197471d129f30d8baf8ebc0237c2e005fbea/config/geany/keybindings.conf
--------------------------------------------------------------------------------
/config/geany/templates/templates.README:
--------------------------------------------------------------------------------
1 | There are several template files in this directory. For these templates you can use wildcards.
2 | For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/).
--------------------------------------------------------------------------------
/config/gtk-3.0/bookmarks:
--------------------------------------------------------------------------------
1 | file:///home/lagg/Downloads
2 | file:///home/lagg/Documents
3 |
--------------------------------------------------------------------------------
/config/gtk-3.0/settings.ini:
--------------------------------------------------------------------------------
1 | [Settings]
2 | gtk-theme-name=Catppuccin-Mocha-Standard-Lavender-Dark
3 | gtk-icon-theme-name=Adwaita
4 | gtk-font-name=JetBrains Mono Ultra-Light 9
5 | gtk-cursor-theme-name=Qogir-dark
6 | gtk-cursor-theme-size=0
7 | gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
8 | gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
9 | gtk-button-images=0
10 | gtk-menu-images=0
11 | gtk-enable-event-sounds=1
12 | gtk-enable-input-feedback-sounds=1
13 | gtk-xft-antialias=1
14 | gtk-xft-hinting=1
15 | gtk-xft-hintstyle=hintfull
16 | gtk-xft-rgba=rgb
17 |
--------------------------------------------------------------------------------
/config/kitty/Catppuccin-Mocha.conf:
--------------------------------------------------------------------------------
1 | # vim:ft=kitty
2 |
3 | ## name: Catppuccin-Mocha
4 | ## author: Pocco81 (https://github.com/Pocco81)
5 | ## license: MIT
6 | ## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
7 | ## blurb: Soothing pastel theme for the high-spirited!
8 |
9 |
10 |
11 | # The basic colors
12 | foreground #CDD6F4
13 | background #1E1E2E
14 | selection_foreground #1E1E2E
15 | selection_background #F5E0DC
16 |
17 | # Cursor colors
18 | cursor #F5E0DC
19 | cursor_text_color #1E1E2E
20 |
21 | # URL underline color when hovering with mouse
22 | url_color #F5E0DC
23 |
24 | # Kitty window border colors
25 | active_border_color #B4BEFE
26 | inactive_border_color #6C7086
27 | bell_border_color #F9E2AF
28 |
29 | # OS Window titlebar colors
30 | wayland_titlebar_color system
31 | macos_titlebar_color system
32 |
33 | # Tab bar colors
34 | active_tab_foreground #11111B
35 | active_tab_background #CBA6F7
36 | inactive_tab_foreground #CDD6F4
37 | inactive_tab_background #181825
38 | tab_bar_background #11111B
39 |
40 | # Colors for marks (marked text in the terminal)
41 | mark1_foreground #1E1E2E
42 | mark1_background #B4BEFE
43 | mark2_foreground #1E1E2E
44 | mark2_background #CBA6F7
45 | mark3_foreground #1E1E2E
46 | mark3_background #74C7EC
47 |
48 | # The 16 terminal colors
49 |
50 | # black
51 | color0 #45475A
52 | color8 #585B70
53 |
54 | # red
55 | color1 #F38BA8
56 | color9 #F38BA8
57 |
58 | # green
59 | color2 #A6E3A1
60 | color10 #A6E3A1
61 |
62 | # yellow
63 | color3 #F9E2AF
64 | color11 #F9E2AF
65 |
66 | # blue
67 | color4 #89B4FA
68 | color12 #89B4FA
69 |
70 | # magenta
71 | color5 #F5C2E7
72 | color13 #F5C2E7
73 |
74 | # cyan
75 | color6 #94E2D5
76 | color14 #94E2D5
77 |
78 | # white
79 | color7 #BAC2DE
80 | color15 #A6ADC8
81 |
--------------------------------------------------------------------------------
/config/kitty/current-theme.conf:
--------------------------------------------------------------------------------
1 | # vim:ft=kitty
2 |
3 | ## name: Catppuccin-Mocha
4 | ## author: Pocco81 (https://github.com/Pocco81)
5 | ## license: MIT
6 | ## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
7 | ## blurb: Soothing pastel theme for the high-spirited!
8 |
9 |
10 |
11 | # The basic colors
12 | foreground #CDD6F4
13 | background #1E1E2E
14 | selection_foreground #1E1E2E
15 | selection_background #F5E0DC
16 |
17 | # Cursor colors
18 | cursor #F5E0DC
19 | cursor_text_color #1E1E2E
20 |
21 | # URL underline color when hovering with mouse
22 | url_color #F5E0DC
23 |
24 | # Kitty window border colors
25 | active_border_color #B4BEFE
26 | inactive_border_color #6C7086
27 | bell_border_color #F9E2AF
28 |
29 | # OS Window titlebar colors
30 | wayland_titlebar_color system
31 | macos_titlebar_color system
32 |
33 | # Tab bar colors
34 | active_tab_foreground #11111B
35 | active_tab_background #CBA6F7
36 | inactive_tab_foreground #CDD6F4
37 | inactive_tab_background #181825
38 | tab_bar_background #11111B
39 |
40 | # Colors for marks (marked text in the terminal)
41 | mark1_foreground #1E1E2E
42 | mark1_background #B4BEFE
43 | mark2_foreground #1E1E2E
44 | mark2_background #CBA6F7
45 | mark3_foreground #1E1E2E
46 | mark3_background #74C7EC
47 |
48 | # The 16 terminal colors
49 |
50 | # black
51 | color0 #45475A
52 | color8 #585B70
53 |
54 | # red
55 | color1 #F38BA8
56 | color9 #F38BA8
57 |
58 | # green
59 | color2 #A6E3A1
60 | color10 #A6E3A1
61 |
62 | # yellow
63 | color3 #F9E2AF
64 | color11 #F9E2AF
65 |
66 | # blue
67 | color4 #89B4FA
68 | color12 #89B4FA
69 |
70 | # magenta
71 | color5 #F5C2E7
72 | color13 #F5C2E7
73 |
74 | # cyan
75 | color6 #94E2D5
76 | color14 #94E2D5
77 |
78 | # white
79 | color7 #BAC2DE
80 | color15 #A6ADC8
81 |
--------------------------------------------------------------------------------
/config/kitty/kitty.conf:
--------------------------------------------------------------------------------
1 | # BEGIN_KITTY_THEME
2 | # Catppuccin-Mocha
3 | include current-theme.conf
4 | # END_KITTY_THEME
--------------------------------------------------------------------------------
/config/kitty/kitty.conf.bak:
--------------------------------------------------------------------------------
1 | # BEGIN_KITTY_THEME
2 | # Catppuccin-Mocha
3 | include current-theme.conf
4 | # END_KITTY_THEME
--------------------------------------------------------------------------------
/config/neofetch/config.conf:
--------------------------------------------------------------------------------
1 | # Source: https://github.com/Chick2D/neofetch-themes/
2 | # Made by https://github.com/Dan1jel
3 | # Customization Wiki https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
4 |
5 | print_info() {
6 | # info title
7 | # info underline
8 | prin "\n"
9 | # prin "\n \n " "$(curl wttr.in/?0?q?T | awk '/°(C|F)/ {printf $(NF-1) $(NF) " ("a")"} /,/ {a=$0}')"
10 | prin "${cl9}┌──────────────────────────────────────┐"
11 | # info underline
12 | info "\n \n " distro
13 | info "\n \n " model
14 | info "\n \n " kernel
15 | info "\n \n " uptime
16 | info "\n \n " packages
17 | info "\n \n " shell
18 | # info "\n \n " resolution
19 | # info "\n \n " de
20 | # info "\n \n " wm
21 | # info "\n \n "wm_theme
22 | info "\n \n "theme
23 | # info "\n \n " icons
24 | info "\n \n " term
25 | info "\n \n " term_font
26 | info "\n \n " cpu
27 | info "\n \n " gpu
28 | info "\n \n " memory
29 | # info "GPU Driver" gpu_driver # Linux/macOS only
30 | # info "CPU Usage" cpu_usage
31 | info "\n \n " disk
32 | # info "\n \n " battery
33 | # info "\n \n " font
34 | info "\n \n " song
35 | [[ "$player" ]] && prin "\n \n " "$player"
36 | info "\n \n " local_ip
37 | # info "Public IP" public_ip
38 | prin "${cl9}└───────────────────── ${cl0} ${cl1} ${cl2} ${cl3} ${cl4} ${cl5} ${cl6} $(color 15) ${cl9}┘"
39 | # info "Users" users
40 | # info "Locale" locale # This only works on glibc systems.
41 | # info cols
42 | prin "\n"
43 |
44 | # prin "\n \n ${cl0}──${cl1}────${cl2}────${cl3}────${cl4}────${cl5}────${cl6}────${cl7}──"
45 | #
46 | # prin "\n \n \n \n \n \n ${cl0}⬤ \n \n ${cl1}⬤ \n \n ${cl2}⬤ \n \n ${cl3}⬤ \n \n ${cl4}⬤ \n \n ${cl5}⬤ \n \n ${cl6}⬤ \n \n ${cl7}⬤"
47 | }
48 |
49 | reset="\033[0m"
50 | gray="\033[1;90m"
51 | red="\033[1;31m"
52 | green="\033[1;32m"
53 | yellow="\033[1;33m"
54 | blue="\033[1;34m"
55 | magenta="\033[1;35m"
56 | cyan="\033[1;36m"
57 | white="\033[1;37m"
58 |
59 | cl0="${gray}"
60 | cl1="${red}"
61 | cl2="${green}"
62 | cl3="${yellow}"
63 | cl4="${blue}"
64 | cl5="${magenta}"
65 | cl6="${cyan}"
66 | cl7="${white}"
67 | cl9="${reset}"
68 |
69 | # Title
70 |
71 |
72 | # Hide/Show Fully qualified domain name.
73 | #
74 | # Default: 'off'
75 | # Values: 'on', 'off'
76 | # Flag: --title_fqdn
77 | title_fqdn="off"
78 |
79 |
80 | # Kernel
81 |
82 |
83 | # Shorten the output of the kernel function.
84 | #
85 | # Default: 'on'
86 | # Values: 'on', 'off'
87 | # Flag: --kernel_shorthand
88 | # Supports: Everything except *BSDs (except PacBSD and PC-BSD)
89 | #
90 | # Example:
91 | # on: '4.8.9-1-ARCH'
92 | # off: 'Linux 4.8.9-1-ARCH'
93 | kernel_shorthand="on"
94 |
95 |
96 | # Distro
97 |
98 |
99 | # Shorten the output of the distro function
100 | #
101 | # Default: 'off'
102 | # Values: 'on', 'tiny', 'off'
103 | # Flag: --distro_shorthand
104 | # Supports: Everything except Windows and Haiku
105 | distro_shorthand="off"
106 |
107 | # Show/Hide OS Architecture.
108 | # Show 'x86_64', 'x86' and etc in 'Distro:' output.
109 | #
110 | # Default: 'on'
111 | # Values: 'on', 'off'
112 | # Flag: --os_arch
113 | #
114 | # Example:
115 | # on: 'Arch Linux x86_64'
116 | # off: 'Arch Linux'
117 | os_arch="off"
118 |
119 |
120 | # Uptime
121 |
122 |
123 | # Shorten the output of the uptime function
124 | #
125 | # Default: 'on'
126 | # Values: 'on', 'tiny', 'off'
127 | # Flag: --uptime_shorthand
128 | #
129 | # Example:
130 | # on: '2 days, 10 hours, 3 mins'
131 | # tiny: '2d 10h 3m'
132 | # off: '2 days, 10 hours, 3 minutes'
133 | uptime_shorthand="tiny"
134 |
135 |
136 | # Memory
137 |
138 |
139 | # Show memory pecentage in output.
140 | #
141 | # Default: 'off'
142 | # Values: 'on', 'off'
143 | # Flag: --memory_percent
144 | #
145 | # Example:
146 | # on: '1801MiB / 7881MiB (22%)'
147 | # off: '1801MiB / 7881MiB'
148 | memory_percent="on"
149 |
150 | # Change memory output unit.
151 | #
152 | # Default: 'mib'
153 | # Values: 'kib', 'mib', 'gib'
154 | # Flag: --memory_unit
155 | #
156 | # Example:
157 | # kib '1020928KiB / 7117824KiB'
158 | # mib '1042MiB / 6951MiB'
159 | # gib: ' 0.98GiB / 6.79GiB'
160 | memory_unit="mib"
161 |
162 |
163 | # Packages
164 |
165 |
166 | # Show/Hide Package Manager names.
167 | #
168 | # Default: 'tiny'
169 | # Values: 'on', 'tiny' 'off'
170 | # Flag: --package_managers
171 | #
172 | # Example:
173 | # on: '998 (pacman), 8 (flatpak), 4 (snap)'
174 | # tiny: '908 (pacman, flatpak, snap)'
175 | # off: '908'
176 | package_managers="on"
177 |
178 |
179 | # Shell
180 |
181 |
182 | # Show the path to $SHELL
183 | #
184 | # Default: 'off'
185 | # Values: 'on', 'off'
186 | # Flag: --shell_path
187 | #
188 | # Example:
189 | # on: '/bin/bash'
190 | # off: 'bash'
191 | shell_path="off"
192 |
193 | # Show $SHELL version
194 | #
195 | # Default: 'on'
196 | # Values: 'on', 'off'
197 | # Flag: --shell_version
198 | #
199 | # Example:
200 | # on: 'bash 4.4.5'
201 | # off: 'bash'
202 | shell_version="on"
203 |
204 |
205 | # CPU
206 |
207 |
208 | # CPU speed type
209 | #
210 | # Default: 'bios_limit'
211 | # Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
212 | # Flag: --speed_type
213 | # Supports: Linux with 'cpufreq'
214 | # NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
215 | speed_type="bios_limit"
216 |
217 | # CPU speed shorthand
218 | #
219 | # Default: 'off'
220 | # Values: 'on', 'off'.
221 | # Flag: --speed_shorthand
222 | # NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
223 | #
224 | # Example:
225 | # on: 'i7-6500U (4) @ 3.1GHz'
226 | # off: 'i7-6500U (4) @ 3.100GHz'
227 | speed_shorthand="off"
228 |
229 | # Enable/Disable CPU brand in output.
230 | #
231 | # Default: 'on'
232 | # Values: 'on', 'off'
233 | # Flag: --cpu_brand
234 | #
235 | # Example:
236 | # on: 'Intel i7-6500U'
237 | # off: 'i7-6500U (4)'
238 | cpu_brand="on"
239 |
240 | # CPU Speed
241 | # Hide/Show CPU speed.
242 | #
243 | # Default: 'on'
244 | # Values: 'on', 'off'
245 | # Flag: --cpu_speed
246 | #
247 | # Example:
248 | # on: 'Intel i7-6500U (4) @ 3.1GHz'
249 | # off: 'Intel i7-6500U (4)'
250 | cpu_speed="on"
251 |
252 | # CPU Cores
253 | # Display CPU cores in output
254 | #
255 | # Default: 'logical'
256 | # Values: 'logical', 'physical', 'off'
257 | # Flag: --cpu_cores
258 | # Support: 'physical' doesn't work on BSD.
259 | #
260 | # Example:
261 | # logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
262 | # physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
263 | # off: 'Intel i7-6500U @ 3.1GHz'
264 | cpu_cores="logical"
265 |
266 | # CPU Temperature
267 | # Hide/Show CPU temperature.
268 | # Note the temperature is added to the regular CPU function.
269 | #
270 | # Default: 'off'
271 | # Values: 'C', 'F', 'off'
272 | # Flag: --cpu_temp
273 | # Supports: Linux, BSD
274 | # NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
275 | # coretemp kernel module. This only supports newer Intel processors.
276 | #
277 | # Example:
278 | # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
279 | # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
280 | # off: 'Intel i7-6500U (4) @ 3.1GHz'
281 | cpu_temp="off"
282 |
283 |
284 | # GPU
285 |
286 |
287 | # Enable/Disable GPU Brand
288 | #
289 | # Default: 'on'
290 | # Values: 'on', 'off'
291 | # Flag: --gpu_brand
292 | #
293 | # Example:
294 | # on: 'AMD HD 7950'
295 | # off: 'HD 7950'
296 | gpu_brand="on"
297 |
298 | # Which GPU to display
299 | #
300 | # Default: 'all'
301 | # Values: 'all', 'dedicated', 'integrated'
302 | # Flag: --gpu_type
303 | # Supports: Linux
304 | #
305 | # Example:
306 | # all:
307 | # GPU1: AMD HD 7950
308 | # GPU2: Intel Integrated Graphics
309 | #
310 | # dedicated:
311 | # GPU1: AMD HD 7950
312 | #
313 | # integrated:
314 | # GPU1: Intel Integrated Graphics
315 | gpu_type="all"
316 |
317 |
318 | # Resolution
319 |
320 |
321 | # Display refresh rate next to each monitor
322 | # Default: 'off'
323 | # Values: 'on', 'off'
324 | # Flag: --refresh_rate
325 | # Supports: Doesn't work on Windows.
326 | #
327 | # Example:
328 | # on: '1920x1080 @ 60Hz'
329 | # off: '1920x1080'
330 | refresh_rate="off"
331 |
332 |
333 | # Gtk Theme / Icons / Font
334 |
335 |
336 | # Shorten output of GTK Theme / Icons / Font
337 | #
338 | # Default: 'off'
339 | # Values: 'on', 'off'
340 | # Flag: --gtk_shorthand
341 | #
342 | # Example:
343 | # on: 'Numix, Adwaita'
344 | # off: 'Numix [GTK2], Adwaita [GTK3]'
345 | gtk_shorthand="on"
346 |
347 |
348 | # Enable/Disable gtk2 Theme / Icons / Font
349 | #
350 | # Default: 'on'
351 | # Values: 'on', 'off'
352 | # Flag: --gtk2
353 | #
354 | # Example:
355 | # on: 'Numix [GTK2], Adwaita [GTK3]'
356 | # off: 'Adwaita [GTK3]'
357 | gtk2="on"
358 |
359 | # Enable/Disable gtk3 Theme / Icons / Font
360 | #
361 | # Default: 'on'
362 | # Values: 'on', 'off'
363 | # Flag: --gtk3
364 | #
365 | # Example:
366 | # on: 'Numix [GTK2], Adwaita [GTK3]'
367 | # off: 'Numix [GTK2]'
368 | gtk3="on"
369 |
370 |
371 | # IP Address
372 |
373 |
374 | # Website to ping for the public IP
375 | #
376 | # Default: 'http://ident.me'
377 | # Values: 'url'
378 | # Flag: --ip_host
379 | public_ip_host="http://ident.me"
380 |
381 | # Public IP timeout.
382 | #
383 | # Default: '2'
384 | # Values: 'int'
385 | # Flag: --ip_timeout
386 | public_ip_timeout=2
387 |
388 |
389 | # Desktop Environment
390 |
391 |
392 | # Show Desktop Environment version
393 | #
394 | # Default: 'on'
395 | # Values: 'on', 'off'
396 | # Flag: --de_version
397 | de_version="on"
398 |
399 |
400 | # Disk
401 |
402 |
403 | # Which disks to display.
404 | # The values can be any /dev/sdXX, mount point or directory.
405 | # NOTE: By default we only show the disk info for '/'.
406 | #
407 | # Default: '/'
408 | # Values: '/', '/dev/sdXX', '/path/to/drive'.
409 | # Flag: --disk_show
410 | #
411 | # Example:
412 | # disk_show=('/' '/dev/sdb1'):
413 | # 'Disk (/): 74G / 118G (66%)'
414 | # 'Disk (/mnt/Videos): 823G / 893G (93%)'
415 | #
416 | # disk_show=('/'):
417 | # 'Disk (/): 74G / 118G (66%)'
418 | #
419 | disk_show=('/storage/emulated' '/' '/server')
420 |
421 | # Disk subtitle.
422 | # What to append to the Disk subtitle.
423 | #
424 | # Default: 'mount'
425 | # Values: 'mount', 'name', 'dir', 'none'
426 | # Flag: --disk_subtitle
427 | #
428 | # Example:
429 | # name: 'Disk (/dev/sda1): 74G / 118G (66%)'
430 | # 'Disk (/dev/sdb2): 74G / 118G (66%)'
431 | #
432 | # mount: 'Disk (/): 74G / 118G (66%)'
433 | # 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
434 | # 'Disk (/mnt/Videos): 74G / 118G (66%)'
435 | #
436 | # dir: 'Disk (/): 74G / 118G (66%)'
437 | # 'Disk (Local Disk): 74G / 118G (66%)'
438 | # 'Disk (Videos): 74G / 118G (66%)'
439 | #
440 | # none: 'Disk: 74G / 118G (66%)'
441 | # 'Disk: 74G / 118G (66%)'
442 | # 'Disk: 74G / 118G (66%)'
443 | disk_subtitle="none"
444 |
445 | # Disk percent.
446 | # Show/Hide disk percent.
447 | #
448 | # Default: 'on'
449 | # Values: 'on', 'off'
450 | # Flag: --disk_percent
451 | #
452 | # Example:
453 | # on: 'Disk (/): 74G / 118G (66%)'
454 | # off: 'Disk (/): 74G / 118G'
455 | disk_percent="on"
456 |
457 |
458 | # Song
459 |
460 |
461 | # Manually specify a music player.
462 | #
463 | # Default: 'auto'
464 | # Values: 'auto', 'player-name'
465 | # Flag: --music_player
466 | #
467 | # Available values for 'player-name':
468 | #
469 | # amarok
470 | # audacious
471 | # banshee
472 | # bluemindo
473 | # clementine
474 | # cmus
475 | # deadbeef
476 | # deepin-music
477 | # dragon
478 | # elisa
479 | # exaile
480 | # gnome-music
481 | # gmusicbrowser
482 | # gogglesmm
483 | # guayadeque
484 | # io.elementary.music
485 | # iTunes
486 | # juk
487 | # lollypop
488 | # mocp
489 | # mopidy
490 | # mpd
491 | # muine
492 | # netease-cloud-music
493 | # olivia
494 | # playerctl
495 | # pogo
496 | # pragha
497 | # qmmp
498 | # quodlibet
499 | # rhythmbox
500 | # sayonara
501 | # smplayer
502 | # spotify
503 | # strawberry
504 | # tauonmb
505 | # tomahawk
506 | # vlc
507 | # xmms2d
508 | # xnoise
509 | # yarock
510 | music_player="auto"
511 |
512 | # Format to display song information.
513 | #
514 | # Default: '%artist% - %album% - %title%'
515 | # Values: '%artist%', '%album%', '%title%'
516 | # Flag: --song_format
517 | #
518 | # Example:
519 | # default: 'Song: Jet - Get Born - Sgt Major'
520 | song_format="%artist% - %album% - %title%"
521 |
522 | # Print the Artist, Album and Title on separate lines
523 | #
524 | # Default: 'off'
525 | # Values: 'on', 'off'
526 | # Flag: --song_shorthand
527 | #
528 | # Example:
529 | # on: 'Artist: The Fratellis'
530 | # 'Album: Costello Music'
531 | # 'Song: Chelsea Dagger'
532 | #
533 | # off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
534 | song_shorthand="off"
535 |
536 | # 'mpc' arguments (specify a host, password etc).
537 | #
538 | # Default: ''
539 | # Example: mpc_args=(-h HOST -P PASSWORD)
540 | mpc_args=()
541 |
542 |
543 | # Text Colors
544 |
545 |
546 | # Text Colors
547 | #
548 | # Default: 'distro'
549 | # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
550 | # Flag: --colors
551 | #
552 | # Each number represents a different part of the text in
553 | # this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
554 | #
555 | # Example:
556 | # colors=(distro) - Text is colored based on Distro colors.
557 | # colors=(4 6 1 8 8 6) - Text is colored in the order above.
558 | # colors=(7 7 7 7 8 250)
559 | colors=(7 7 7 7 7 7)
560 |
561 |
562 |
563 | # Text Options
564 |
565 |
566 | # Toggle bold text
567 | #
568 | # Default: 'on'
569 | # Values: 'on', 'off'
570 | # Flag: --bold
571 | bold="on"
572 |
573 | # Enable/Disable Underline
574 | #
575 | # Default: 'on'
576 | # Values: 'on', 'off'
577 | # Flag: --underline
578 | underline_enabled="on"
579 |
580 | # Underline character
581 | #
582 | # Default: '-'
583 | # Values: 'string'
584 | # Flag: --underline_char
585 | underline_char="-"
586 |
587 |
588 | # Info Separator
589 | # Replace the default separator with the specified string.
590 | #
591 | # Default: ':'
592 | # Flag: --separator
593 | #
594 | # Example:
595 | # separator="->": 'Shell-> bash'
596 | # separator=" =": 'WM = dwm'
597 | #separator=" "
598 | separator=" "
599 |
600 |
601 | # Color Blocks
602 |
603 |
604 | # Color block range
605 | # The range of colors to print.
606 | #
607 | # Default: '0', '15'
608 | # Values: 'num'
609 | # Flag: --block_range
610 | #
611 | # Example:
612 | #
613 | # Display colors 0-7 in the blocks. (8 colors)
614 | # neofetch --block_range 0 7
615 | #
616 | # Display colors 0-15 in the blocks. (16 colors)
617 | # neofetch --block_range 0 15
618 | block_range=(0 15)
619 |
620 | # Toggle color blocks
621 | #
622 | # Default: 'on'
623 | # Values: 'on', 'off'
624 | # Flag: --color_blocks
625 | color_blocks="on"
626 |
627 | # Color block width in spaces
628 | #
629 | # Default: '3'
630 | # Values: 'num'
631 | # Flag: --block_width
632 | block_width=3
633 |
634 | # Color block height in lines
635 | #
636 | # Default: '1'
637 | # Values: 'num'
638 | # Flag: --block_height
639 | block_height=1
640 |
641 | # Color Alignment
642 | #
643 | # Default: 'auto'
644 | # Values: 'auto', 'num'
645 | # Flag: --col_offset
646 | #
647 | # Number specifies how far from the left side of the terminal (in spaces) to
648 | # begin printing the columns, in case you want to e.g. center them under your
649 | # text.
650 | # Example:
651 | # col_offset="auto" - Default behavior of neofetch
652 | # col_offset=7 - Leave 7 spaces then print the colors
653 | col_offset="auto"
654 |
655 | # Progress Bars
656 |
657 |
658 | # Bar characters
659 | #
660 | # Default: '-', '='
661 | # Values: 'string', 'string'
662 | # Flag: --bar_char
663 | #
664 | # Example:
665 | # neofetch --bar_char 'elapsed' 'total'
666 | # neofetch --bar_char '-' '='
667 | bar_char_elapsed="-"
668 | bar_char_total="="
669 |
670 | # Toggle Bar border
671 | #
672 | # Default: 'on'
673 | # Values: 'on', 'off'
674 | # Flag: --bar_border
675 | bar_border="on"
676 |
677 | # Progress bar length in spaces
678 | # Number of chars long to make the progress bars.
679 | #
680 | # Default: '15'
681 | # Values: 'num'
682 | # Flag: --bar_length
683 | bar_length=15
684 |
685 | # Progress bar colors
686 | # When set to distro, uses your distro's logo colors.
687 | #
688 | # Default: 'distro', 'distro'
689 | # Values: 'distro', 'num'
690 | # Flag: --bar_colors
691 | #
692 | # Example:
693 | # neofetch --bar_colors 3 4
694 | # neofetch --bar_colors distro 5
695 | bar_color_elapsed="distro"
696 | bar_color_total="distro"
697 |
698 |
699 | # Info display
700 | # Display a bar with the info.
701 | #
702 | # Default: 'off'
703 | # Values: 'bar', 'infobar', 'barinfo', 'off'
704 | # Flags: --cpu_display
705 | # --memory_display
706 | # --battery_display
707 | # --disk_display
708 | #
709 | # Example:
710 | # bar: '[---=======]'
711 | # infobar: 'info [---=======]'
712 | # barinfo: '[---=======] info'
713 | # off: 'info'
714 | cpu_display="off"
715 | memory_display="off"
716 | battery_display="off"
717 | disk_display="off"
718 |
719 |
720 | # Backend Settings
721 |
722 |
723 | # Image backend.
724 | #
725 | # Default: 'ascii'
726 | # Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
727 | # 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
728 | # Flag: --backend
729 | image_backend="ascii"
730 |
731 | # Image Source
732 | #
733 | # Which image or ascii file to display.
734 | #
735 | # Default: 'auto'
736 | # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
737 | # 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
738 | # Flag: --source
739 | #
740 | # NOTE: 'auto' will pick the best image source for whatever image backend is used.
741 | # In ascii mode, distro ascii art will be used and in an image mode, your
742 | # wallpaper will be used.
743 | image_source= /$HOME/.config/neofetch/logo
744 |
745 |
746 | # Ascii Options
747 |
748 |
749 | # Ascii distro
750 | # Which distro's ascii art to display.
751 | #
752 | # Default: 'auto'
753 | # Values: 'auto', 'distro_name'
754 | # Flag: --ascii_distro
755 | # NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS",
756 | # "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs,
757 | # ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock,
758 | # Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
759 | # BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
760 | # Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
761 | # Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
762 | # DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary,
763 | # EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
764 | # FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo,
765 | # gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
766 | # Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
767 | # Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
768 | # LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
769 | # Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
770 | # Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
771 | # NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba,
772 | # OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD,
773 | # Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint,
774 | # popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix,
775 | # Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan,
776 | # Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific,
777 | # Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz,
778 | # SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS,
779 | # openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails,
780 | # Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio,
781 | # Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin,
782 | # and IRIX have ascii logos
783 | # NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
784 | # Use '{distro name}_old' to use the old logos.
785 | # NOTE: Ubuntu has flavor variants.
786 | # Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
787 | # Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
788 | # NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
789 | # CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
790 | # Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
791 | # Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
792 | # Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
793 | # postmarketOS, and Void have a smaller logo variant.
794 | # Use '{distro name}_small' to use the small variants.
795 | ascii_distro="auto"
796 |
797 | # Ascii Colors
798 | #
799 | # Default: 'distro'
800 | # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
801 | # Flag: --ascii_colors
802 | #
803 | # Example:
804 | # ascii_colors=(distro) - Ascii is colored based on Distro colors.
805 | # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
806 | ascii_colors=(distro)
807 |
808 | # Bold ascii logo
809 | # Whether or not to bold the ascii logo.
810 | #
811 | # Default: 'on'
812 | # Values: 'on', 'off'
813 | # Flag: --ascii_bold
814 | ascii_bold="on"
815 |
816 |
817 | # Image Options
818 |
819 |
820 | # Image loop
821 | # Setting this to on will make neofetch redraw the image constantly until
822 | # Ctrl+C is pressed. This fixes display issues in some terminal emulators.
823 | #
824 | # Default: 'off'
825 | # Values: 'on', 'off'
826 | # Flag: --loop
827 | image_loop="off"
828 |
829 | # Thumbnail directory
830 | #
831 | # Default: '~/.cache/thumbnails/neofetch'
832 | # Values: 'dir'
833 | thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
834 |
835 | # Crop mode
836 | #
837 | # Default: 'normal'
838 | # Values: 'normal', 'fit', 'fill'
839 | # Flag: --crop_mode
840 | #
841 | # See this wiki page to learn about the fit and fill options.
842 | # https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
843 | crop_mode="normal"
844 |
845 | # Crop offset
846 | # Note: Only affects 'normal' crop mode.
847 | #
848 | # Default: 'center'
849 | # Values: 'northwest', 'north', 'northeast', 'west', 'center'
850 | # 'east', 'southwest', 'south', 'southeast'
851 | # Flag: --crop_offset
852 | crop_offset="center"
853 |
854 | # Image size
855 | # The image is half the terminal width by default.
856 | #
857 | # Default: 'auto'
858 | # Values: 'auto', '00px', '00%', 'none'
859 | # Flags: --image_size
860 | # --size
861 | image_size="auto"
862 |
863 | # Gap between image and text
864 | #
865 | # Default: '3'
866 | # Values: 'num', '-num'
867 | # Flag: --gap
868 | gap=2
869 |
870 | # Image offsets
871 | # Only works with the w3m backend.
872 | #
873 | # Default: '0'
874 | # Values: 'px'
875 | # Flags: --xoffset
876 | # --yoffset
877 | yoffset=0
878 | xoffset=0
879 |
880 | # Image background color
881 | # Only works with the w3m backend.
882 | #
883 | # Default: ''
884 | # Values: 'color', 'blue'
885 | # Flag: --bg_color
886 | background_color=
887 |
888 |
889 | # Misc Options
890 |
891 | # Stdout mode
892 | # Turn off all colors and disables image backend (ASCII/Image).
893 | # Useful for piping into another command.
894 | # Default: 'off'
895 | # Values: 'on', 'off'
896 | stdout="off"
897 |
--------------------------------------------------------------------------------
/config/neofetch/logo:
--------------------------------------------------------------------------------
1 | ${c1}
2 | ⡏⠉⠉⠉⠉⠉⠉⠋⠉⠉⠉⠉⠉⠉⠋⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠙⠉⠉⠉⠹
3 | ⡇⢸⣿⡟⠛⢿⣷⠀⢸⣿⡟⠛⢿⣷⡄⢸⣿⡇⠀⢸⣿⡇⢸⣿⡇⠀⢸⣿⡇⠀
4 | ⡇⢸⣿⣧⣤⣾⠿⠀⢸⣿⣇⣀⣸⡿⠃⢸⣿⡇⠀⢸⣿⡇⢸⣿⣇⣀⣸⣿⡇⠀
5 | ⡇⢸⣿⡏⠉⢹⣿⡆⢸⣿⡟⠛⢻⣷⡄⢸⣿⡇⠀⢸⣿⡇⢸⣿⡏⠉⢹⣿⡇⠀
6 | ⡇⢸⣿⣧⣤⣼⡿⠃⢸⣿⡇⠀⢸⣿⡇⠸⣿⣧⣤⣼⡿⠁⢸⣿⡇⠀⢸⣿⡇⠀
7 | ⣇⣀⣀⣀⣀⣀⣀⣄⣀⣀⣀⣀⣀⣀⣀⣠⣀⡈⠉⣁⣀⣄⣀⣀⣀⣠⣀⣀⣀⣰
8 | ⣇⣿⠘⣿⣿⣿⡿⡿⣟⣟⢟⢟⢝⠵⡝⣿⡿⢂⣼⣿⣷⣌⠩⡫⡻⣝⠹⢿⣿⣷
9 | ⡆⣿⣆⠱⣝⡵⣝⢅⠙⣿⢕⢕⢕⢕⢝⣥⢒⠅⣿⣿⣿⡿⣳⣌⠪⡪⣡⢑⢝⣇
10 | ⡆⣿⣿⣦⠹⣳⣳⣕⢅⠈⢗⢕⢕⢕⢕⢕⢈⢆⠟⠋⠉⠁⠉⠉⠁⠈⠼⢐⢕⢽
11 | ⡗⢰⣶⣶⣦⣝⢝⢕⢕⠅⡆⢕⢕⢕⢕⢕⣴⠏⣠⡶⠛⡉⡉⡛⢶⣦⡀⠐⣕⢕
12 | ⡝⡄⢻⢟⣿⣿⣷⣕⣕⣅⣿⣔⣕⣵⣵⣿⣿⢠⣿⢠⣮⡈⣌⠨⠅⠹⣷⡀⢱⢕
13 | ⡝⡵⠟⠈⢀⣀⣀⡀⠉⢿⣿⣿⣿⣿⣿⣿⣿⣼⣿⢈⡋⠴⢿⡟⣡⡇⣿⡇⡀⢕
14 | ⡝⠁⣠⣾⠟⡉⡉⡉⠻⣦⣻⣿⣿⣿⣿⣿⣿⣿⣿⣧⠸⣿⣦⣥⣿⡇⡿⣰⢗⢄
15 | ⠁⢰⣿⡏⣴⣌⠈⣌⠡⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣬⣉⣉⣁⣄⢖⢕⢕⢕
16 | ⡀⢻⣿⡇⢙⠁⠴⢿⡟⣡⡆⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣵⣵⣿
17 | ⡻⣄⣻⣿⣌⠘⢿⣷⣥⣿⠇⣿⣿⣿⣿⣿⣿⠛⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
18 | ⣷⢄⠻⣿⣟⠿⠦⠍⠉⣡⣾⣿⣿⣿⣿⣿⣿⢸⣿⣦⠙⣿⣿⣿⣿⣿⣿⣿⣿⠟
19 | ⡕⡑⣑⣈⣻⢗⢟⢞⢝⣻⣿⣿⣿⣿⣿⣿⣿⠸⣿⠿⠃⣿⣿⣿⣿⣿⣿⡿⠁⣠
20 | ⡝⡵⡈⢟⢕⢕⢕⢕⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣿⣿⣿⣿⣿⠿⠋⣀⣈⠙
21 | ⡝⡵⡕⡀⠑⠳⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⡠⡲⡫⡪⡪⡣
22 |
--------------------------------------------------------------------------------
/config/sway/config:
--------------------------------------------------------------------------------
1 | # Initial Setup
2 | # exec ~/set_once.sh
3 |
4 | # Config for sway
5 | #
6 | # Read `man 5 sway` for a complete reference.
7 |
8 | # user config directory
9 | include $HOME/.config/sway/config.d/*
10 |
11 | # only enable this if every app you use is compatible with wayland
12 | # xwayland disable
13 |
--------------------------------------------------------------------------------
/config/sway/config.d/application_defaults:
--------------------------------------------------------------------------------
1 | # Assign workspaces
2 | assign [app_id="firefox"] 2
3 | for_window [app_id="firefox"] focus
4 |
5 | assign [class="firefox"] 1
6 | for_window [class="firefox"] focus
7 |
8 | assign [app_id=thunar] 2
9 | for_window [app_id=thunar] focus
10 |
11 | assign [class="geany"] 3
12 | for_window [class="geany"] focus
13 |
14 | assign [class="Code"] 3
15 | for_window [class="Code"] focus
16 |
17 |
18 |
19 | for_window [app_id="xed"] focus
20 |
21 |
22 | # set floating (nontiling)for apps needing it:
23 | for_window [class="Yad" instance="yad"] floating enable
24 | for_window [app_id="yad"] floating enable
25 | for_window [app_id="blueman-manager"] floating enable, resize set width 40 ppt height 30 ppt
26 |
27 | # set floating (nontiling) for special apps:
28 | for_window [class="Xsane" instance="xsane"] floating enable
29 | for_window [app_id="pavucontrol" ] floating enable, resize set width 40 ppt height 30 ppt
30 | for_window [class="qt5ct" instance="qt5ct"] floating enable, resize set width 60 ppt height 50 ppt
31 | for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable
32 | for_window [app_id="pamac-manager"] floating enable, resize set width 80 ppt height 70 ppt
33 | for_window [class="Lxappearance"] floating enable, resize set width 60 ppt height 50 ppt
34 |
35 | # set floating for window roles
36 | for_window [window_role="pop-up"] floating enable
37 | for_window [window_role="bubble"] floating enable
38 | for_window [window_role="task_dialog"] floating enable
39 | for_window [window_role="Preferences"] floating enable
40 | for_window [window_type="dialog"] floating enable
41 | for_window [window_type="menu"] floating enable
42 | for_window [window_role="About"] floating enable
43 | for_window [title="File Operation Progress"] floating enable, border pixel 1, sticky enable, resize set width 40 ppt height 30 ppt
44 | for_window [app_id="firefox" title="^Library$"] floating enable, border pixel 1, sticky enable, resize set width 40 ppt height 30 ppt
45 | for_window [app_id="floating_shell_portrait"] floating enable, border pixel 1, sticky enable, resize set width 30 ppt height 40 ppt
46 | for_window [title="Picture in picture"] floating enable, sticky enable
47 | for_window [title="nmtui"] floating enable, resize set width 50 ppt height 70 ppt
48 | for_window [title="htop"] floating enable, resize set width 50 ppt height 70 ppt
49 | for_window [app_id="xsensors"] floating enable
50 | for_window [title="Save File"] floating enable
51 | for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
52 |
53 | # Inhibit idle
54 | for_window [app_id="firefox"] inhibit_idle fullscreen
55 | for_window [app_id="Chromium"] inhibit_idle fullscreen
56 |
57 |
58 | # transparency
59 | set $opacity 0.9
60 |
61 | for_window [class="thunar"] opacity $opacity
62 | for_window [app_id="thunar"] opacity $opacity
63 |
64 | for_window [class="kitty"] opacity $opacity
65 | for_window [app_id="kitty"] opacity $opacity
66 |
67 | for_window [class="gscreenshot"] opacity $opacity
68 | for_window [app_id="gscreenshot"] opacity $opacity
69 |
--------------------------------------------------------------------------------
/config/sway/config.d/autostart_applications:
--------------------------------------------------------------------------------
1 | # Auth with polkit-gnome:
2 | exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
3 |
4 | # Desktop notifications
5 | exec dunst
6 |
7 | # Network Applet
8 | exec nm-applet --indicator
9 |
10 | # GTK3 applications take a long time to start
11 | exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
12 | exec hash dbus-update-activation-environment 2>/dev/null && \
13 | dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
14 |
15 | # Welcome App
16 | exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/
17 |
18 | # Sway Fader
19 | # exec python3 ~/.config/sway/scripts/swayfader.py
20 |
--------------------------------------------------------------------------------
/config/sway/config.d/clamshell:
--------------------------------------------------------------------------------
1 | # Clamshell Mode
2 | set $laptop eDP-1
3 | bindswitch --reload --locked lid:on output $laptop disable
4 | bindswitch --reload --locked lid:off output $laptop enable
5 |
6 | exec_always ~/.config/sway/scripts/clamshell.sh
7 |
--------------------------------------------------------------------------------
/config/sway/config.d/default:
--------------------------------------------------------------------------------
1 | # Logo key. Use Mod1 for Alt.
2 | set $mod Mod4
3 |
4 | # Home row direction keys, like vim
5 | set $left h
6 | set $down j
7 | set $up k
8 | set $right l
9 |
10 | # audio control
11 | set $sink_volume pactl get-sink-volume @DEFAULT_SINK@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
12 | set $source_volume pactl get-source-volume @DEFAULT_SOURCE@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
13 | set $volume_down $(pactl set-sink-volume @DEFAULT_SINK@ -5% && $sink_volume)
14 | set $volume_up $(pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume)
15 | set $volume_mute $(pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p")
16 | set $mic_mute $(pactl set-source-mute @DEFAULT_SOURCE@ toggle && pactl get-source-mute @DEFAULT_SOURCE@ | sed -En "/no/ s/.*/$($source_volume)/p; /yes/ s/.*/0/p")
17 |
18 | # Your preferred terminal emulators
19 | set $term-float kitty
20 |
21 | # Your preferred application launcher
22 | # Note: pass the final command to swaymsg so that the resulting window can be opened
23 | # on the original workspace that the command was run on.
24 |
25 | set $menu wofi -c ~/.config/wofi/config -I
26 | set $powermenu ~/.config/wofi/wofi-power.sh
27 |
28 | ### Idle configuration
29 | exec swayidle -w\
30 | timeout 1070 'swaylock -f -C ~/.config/swaylock/config'\
31 | timeout 770 'swaymsg "output * power off"' \
32 | resume 'swaymsg "output * power on"' \
33 | before-sleep 'swaylock -C ~/.config/swaylock/config'
34 |
35 | # This will lock your screen after 300 seconds of inactivity, then turn off
36 | # your displays after another 300 seconds, and turn your screens back on when
37 | # resumed. It will also lock your screen before your computer goes to sleep.
38 |
39 | ## Lock Screen
40 | bindsym $mod+f1 exec ~/.config/sway/scripts/lockman.sh
41 |
42 | ### Key bindings
43 | #
44 | # Basics:
45 | #
46 | # Start a floating terminal
47 | bindsym $mod+Return exec $term-float
48 |
49 | # Open the power menu
50 | bindsym $mod+x exec $powermenu
51 |
52 | # Kill focused window
53 | bindsym $mod+q kill
54 |
55 | # Start your launcher
56 | bindsym $mod+d exec $menu
57 |
58 | # Activities
59 | bindsym $mod+p exec ~/.config/wofi/windows.py
60 |
61 | # Drag floating windows by holding down $mod and left mouse button.
62 | # Resize them with right mouse button + $mod.
63 | # Despite the name, also works for non-floating windows.
64 | # Change normal to inverse to use left mouse button for resizing and right
65 | # mouse button for dragging.
66 | floating_modifier $mod normal
67 |
68 | # Reload the configuration file
69 | bindsym $mod+Shift+c reload
70 |
71 | #
72 | # Moving around:
73 | #
74 | # Move your focus around
75 | bindsym $mod+$left focus left
76 | bindsym $mod+$down focus down
77 | bindsym $mod+$up focus up
78 | bindsym $mod+$right focus right
79 | # Or use $mod+[up|down|left|right]
80 | bindsym $mod+Left focus left
81 | bindsym $mod+Down focus down
82 | bindsym $mod+Up focus up
83 | bindsym $mod+Right focus right
84 |
85 | # Move the focused window with the same, but add Shift
86 | bindsym $mod+Shift+$left move left
87 | bindsym $mod+Shift+$down move down
88 | bindsym $mod+Shift+$up move up
89 | bindsym $mod+Shift+$right move right
90 | # Ditto, with arrow keys
91 | bindsym $mod+Shift+Left move left
92 | bindsym $mod+Shift+Down move down
93 | bindsym $mod+Shift+Up move up
94 | bindsym $mod+Shift+Right move right
95 | #
96 | # Workspaces:
97 | #
98 | # Switch to workspace
99 | bindsym $mod+1 workspace number 1
100 | bindsym $mod+2 workspace number 2
101 | bindsym $mod+3 workspace number 3
102 | bindsym $mod+4 workspace number 4
103 | bindsym $mod+5 workspace number 5
104 | bindsym $mod+6 workspace number 6
105 | bindsym $mod+7 workspace number 7
106 | bindsym $mod+8 workspace number 8
107 | bindsym $mod+9 workspace number 9
108 | bindsym $mod+0 workspace number 10
109 | # Move focused container to workspace
110 | bindsym $mod+Shift+1 move container to workspace number 1
111 | bindsym $mod+Shift+2 move container to workspace number 2
112 | bindsym $mod+Shift+3 move container to workspace number 3
113 | bindsym $mod+Shift+4 move container to workspace number 4
114 | bindsym $mod+Shift+5 move container to workspace number 5
115 | bindsym $mod+Shift+6 move container to workspace number 6
116 | bindsym $mod+Shift+7 move container to workspace number 7
117 | bindsym $mod+Shift+8 move container to workspace number 8
118 | bindsym $mod+Shift+9 move container to workspace number 9
119 | bindsym $mod+Shift+0 move container to workspace number 10
120 | # Note: workspaces can have any name you want, not just numbers.
121 | # We just use 1-10 as the default.
122 | #
123 | # Layout stuff:
124 | #
125 | # You can "split" the current object of your focus with
126 | # $mod+b or $mod+v, for horizontal and vertical splits
127 | # respectively.
128 | bindsym $mod+b splith
129 | bindsym $mod+v splitv
130 |
131 | # Switch the current container between different layout styles
132 | bindsym $mod+s layout stacking
133 | bindsym $mod+o layout tabbed
134 | bindsym $mod+e layout toggle split
135 |
136 | # Make the current focus fullscreen
137 | bindsym $mod+f fullscreen
138 |
139 | # Toggle the current focus between tiling and floating mode
140 | bindsym $mod+Shift+space floating toggle
141 |
142 | # Swap focus between the tiling area and the floating area
143 | bindsym $mod+space focus mode_toggle
144 |
145 | # Move focus to the parent container
146 | bindsym $mod+a focus parent
147 | #
148 | # Scratchpad:
149 | #
150 | # Sway has a "scratchpad", which is a bag of holding for windows.
151 | # You can send windows there and get them back later.
152 |
153 | # Move the currently focused window to the scratchpad
154 | bindsym $mod+Shift+minus move scratchpad
155 |
156 | # Show the next scratchpad window or hide the focused scratchpad window.
157 | # If there are multiple scratchpad windows, this command cycles through them.
158 | bindsym $mod+minus scratchpad show
159 | #
160 | # Resizing containers:
161 | #
162 | mode "resize" {
163 | # left will shrink the containers width
164 | # right will grow the containers width
165 | # up will shrink the containers height
166 | # down will grow the containers height
167 | bindsym $left resize shrink width 10px
168 | bindsym $right resize grow width 10px
169 | bindsym $up resize shrink height 10px
170 | bindsym $down resize grow height 10px
171 |
172 | # Ditto, with arrow keys
173 | bindsym Left resize shrink width 10px
174 | bindsym Right resize grow width 10px
175 | bindsym Up resize shrink height 10px
176 | bindsym Down resize grow height 10px
177 |
178 | # Return to default mode
179 | bindsym Return mode "default"
180 | bindsym Escape mode "default"
181 | }
182 |
183 | bindsym $mod+r mode "resize"
184 |
185 | # Resize floating windows with mouse scroll:
186 | bindsym --whole-window --border $mod+button4 resize shrink height 5 px or 5 ppt
187 | bindsym --whole-window --border $mod+button5 resize grow height 5 px or 5 ppt
188 | bindsym --whole-window --border $mod+Shift+button4 resize shrink width 5 px or 5 ppt
189 | bindsym --whole-window --border $mod+Shift+button5 resize grow width 5 px or 5 ppt
190 |
191 | #
192 | # Volume
193 | #
194 | # Control volume trough pamixer
195 | # bindsym --locked XF86AudioRaiseVolume exec pamixer -ui 2
196 | # bindsym --locked XF86AudioLowerVolume exec pamixer -ud 2
197 | # bindsym --locked XF86AudioMute exec pamixer -t
198 |
199 | # Control volume directly trough pactl
200 | bindsym --locked XF86AudioRaiseVolume exec $volume_up
201 | bindsym --locked XF86AudioLowerVolume exec $volume_down
202 | bindsym --locked XF86AudioMute exec $volume_mute
203 | #
204 | # Player
205 | #
206 | bindsym XF86AudioPlay exec playerctl play
207 | bindsym XF86AudioPause exec playerctl pause
208 | bindsym XF86AudioNext exec playerctl next
209 | bindsym XF86AudioPrev exec playerctl previous
210 | #
211 | # Backlight
212 | #
213 | bindsym XF86MonBrightnessUp exec brightnessctl -c backlight set +5%
214 | bindsym XF86MonBrightnessDown exec brightnessctl -c backlight set 5%-
215 | #
216 | # App shortcuts
217 | #
218 | bindsym $mod+z exec thunar
219 | bindsym $mod+w exec firefox
220 | bindsym $mod+g exec code
221 | #
222 | # Screenshots
223 | #
224 | bindsym print exec /usr/share/sway/scripts/grimshot --notify save output
225 | bindsym $mod+Shift+p exec "gscreenshot"
226 | #
227 | # Keybindings List
228 | #
229 | bindsym $mod+t exec xed ~/.config/sway/cheatsheet
230 |
231 | # commands shortcut
232 |
233 | # bindsym $mod+f2 swaymsg -t get_tree
234 |
--------------------------------------------------------------------------------
/config/sway/config.d/input:
--------------------------------------------------------------------------------
1 | ### Input configuration
2 | #
3 | # Example configuration:
4 | # You can get the names of your inputs by running: swaymsg -t get_inputs
5 | # Put your touchpad's ID to replace "Touchpad-ID" (keep the quotation marks)
6 |
7 | input type:touchpad {
8 | dwt enabled
9 | tap enabled
10 | natural_scroll enabled
11 | }
12 |
13 | # Read `man 5 sway-input` for more information about this section.
14 | #
15 | input type:keyboard xkb_layout "us"
16 |
17 | exec_always {
18 | 'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"'
19 | 'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
20 | }
21 |
--------------------------------------------------------------------------------
/config/sway/config.d/output:
--------------------------------------------------------------------------------
1 | ### Output configuration
2 | #
3 | # Example configuration:
4 | #
5 | # output HDMI-A-1 resolution 1920x1080 position 1920,0
6 | #
7 | # You can get the names of your outputs by running: swaymsg -t get_outputs
8 | #
9 | # Wacom Tablet - Example
10 | # input "1386:884:Wacom_Intuos_S_Pad" map_to_output HDMI-A-1
11 | # input "1386:884:Wacom_Intuos_S_Pen" map_to_output HDMI-A-1
12 |
--------------------------------------------------------------------------------
/config/sway/config.d/theme:
--------------------------------------------------------------------------------
1 | # Apply gtk theming
2 | exec_always ~/.config/sway/scripts/import-gsettings
3 |
4 | # Set inner/outer gaps
5 | gaps inner 2
6 | gaps outer 0
7 |
8 | # Hide titlebar on windows:
9 | default_border pixel 1
10 |
11 | # Default Font
12 | font pango:Noto Sans Regular 10
13 |
14 | # Thin borders:
15 | smart_borders on
16 |
17 | # Set wallpaper:
18 | exec swaybg -i $HOME/walls/pmxrh3o9rdgb1.png
19 |
20 | # Title format for windows
21 | for_window [shell="xdg_shell"] title_format "%title (%app_id)"
22 | for_window [shell="x_wayland"] title_format "%class - %title"
23 |
24 | # class border bground text indicator child_border
25 | client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
26 | client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
27 | client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
28 | client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
29 | client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
30 | client.background #F8F8F2
31 |
32 | #
33 | # Status Bar:
34 | #
35 | # Read `man 5 sway-bar` for more information about this section.
36 | bar {
37 | swaybar_command waybar
38 | }
39 |
--------------------------------------------------------------------------------
/config/sway/keyboard.conf:
--------------------------------------------------------------------------------
1 | ! layout
2 | us USA
3 | ad Andorra
4 | af Afghanistan
5 | ara Arabic
6 | al Albania
7 | am Armenia
8 | az Azerbaijan
9 | by Belarus
10 | be Belgium
11 | bd Bangladesh
12 | in India
13 | ba Bosnia and Herzegovina
14 | br Brazil
15 | bg Bulgaria
16 | ma Morocco
17 | mm Myanmar
18 | ca Canada
19 | cd Congo, Democratic Republic of the
20 | cn China
21 | hr Croatia
22 | cz Czechia
23 | dk Denmark
24 | nl Netherlands
25 | bt Bhutan
26 | ee Estonia
27 | ir Iran
28 | iq Iraq
29 | fo Faroe Islands
30 | fi Finland
31 | fr France
32 | gh Ghana
33 | gn Guinea
34 | ge Georgia
35 | de Germany
36 | gr Greece
37 | hu Hungary
38 | is Iceland
39 | il Israel
40 | it Italy
41 | jp Japan
42 | kg Kyrgyzstan
43 | kh Cambodia
44 | kz Kazakhstan
45 | la Laos
46 | latam Latin American
47 | lt Lithuania
48 | lv Latvia
49 | mao Maori
50 | me Montenegro
51 | mk Macedonia
52 | mt Malta
53 | mn Mongolia
54 | no Norway
55 | pl Poland
56 | pt Portugal
57 | ro Romania
58 | ru Russia
59 | rs Serbia
60 | si Slovenia
61 | sk Slovakia
62 | es Spain
63 | se Sweden
64 | ch Switzerland
65 | sy Syria
66 | tj Tajikistan
67 | lk Sri Lanka
68 | th Thailand
69 | tr Turkey
70 | tw Taiwan
71 | ua Ukraine
72 | gb United Kingdom
73 | uz Uzbekistan
74 | vn Vietnam
75 | kr Korea, Republic of
76 | nec_vndr/jp Japan (PC-98xx Series)
77 | ie Ireland
78 | pk Pakistan
79 | mv Maldives
80 | za South Africa
81 | epo Esperanto
82 | np Nepal
83 | ng Nigeria
84 | et Ethiopia
85 | sn Senegal
86 | brai Braille
87 | tm Turkmenistan
88 | ml Mali
89 | tz Tanzania
90 |
91 | ! variant
92 | chr us: Cherokee
93 | euro us: With EuroSign on 5
94 | intl us: International (with dead keys)
95 | alt-intl us: Alternative international (former us_intl)
96 | colemak us: Colemak
97 | dvorak us: Dvorak
98 | dvorak-intl us: Dvorak international
99 | dvorak-l us: Left handed Dvorak
100 | dvorak-r us: Right handed Dvorak
101 | dvorak-classic us: Classic Dvorak
102 | dvp us: Programmer Dvorak
103 | rus us: Russian phonetic
104 | mac us: Macintosh
105 | altgr-intl us: International (AltGr dead keys)
106 | olpc2 us: Group toggle on multiply/divide key
107 | srp us: Serbian
108 | ps af: Pashto
109 | uz af: Southern Uzbek
110 | olpc-ps af: OLPC Pashto
111 | olpc-fa af: OLPC Dari
112 | olpc-uz af: OLPC Southern Uzbek
113 | azerty ara: azerty
114 | azerty_digits ara: azerty/digits
115 | digits ara: digits
116 | qwerty ara: qwerty
117 | qwerty_digits ara: qwerty/digits
118 | buckwalter ara: Buckwalter
119 | phonetic am: Phonetic
120 | phonetic-alt am: Alternative Phonetic
121 | eastern am: Eastern
122 | western am: Western
123 | eastern-alt am: Alternative Eastern
124 | cyrillic az: Cyrillic
125 | legacy by: Legacy
126 | latin by: Latin
127 | oss be: Alternative
128 | oss_latin9 be: Alternative, latin-9 only
129 | oss_sundeadkeys be: Alternative, Sun dead keys
130 | iso-alternate be: ISO Alternate
131 | nodeadkeys be: Eliminate dead keys
132 | sundeadkeys be: Sun dead keys
133 | wang be: Wang model 724 azerty
134 | probhat bd: Probhat
135 | ben in: Bengali
136 | ben_probhat in: Bengali Probhat
137 | guj in: Gujarati
138 | guru in: Gurmukhi
139 | jhelum in: Gurmukhi Jhelum
140 | kan in: Kannada
141 | mal in: Malayalam
142 | mal_lalitha in: Malayalam Lalitha
143 | ori in: Oriya
144 | tam_unicode in: Tamil Unicode
145 | tam_keyboard_with_numerals in: Tamil Keyboard with Numerals
146 | tam_TAB in: Tamil TAB Typewriter
147 | tam_TSCII in: Tamil TSCII Typewriter
148 | tam in: Tamil
149 | tel in: Telugu
150 | urd-phonetic in: Urdu, Phonetic
151 | urd-phonetic3 in: Urdu, Alternative phonetic
152 | urd-winkeys in: Urdu, Winkeys
153 | bolnagri in: Hindi Bolnagri
154 | hin-wx in: Hindi Wx
155 | alternatequotes ba: Use guillemets for quotes
156 | unicode ba: Use Bosnian digraphs
157 | unicodeus ba: US keyboard with Bosnian digraphs
158 | us ba: US keyboard with Bosnian letters
159 | nodeadkeys br: Eliminate dead keys
160 | dvorak br: Dvorak
161 | nativo br: Nativo
162 | nativo-us br: Nativo for USA keyboards
163 | nativo-epo br: Nativo for Esperanto
164 | phonetic bg: Traditional phonetic
165 | bas_phonetic bg: New phonetic
166 | french ma: French
167 | tifinagh ma: Tifinagh
168 | tifinagh-alt ma: Tifinagh Alternative
169 | tifinagh-alt-phonetic ma: Tifinagh Alternative Phonetic
170 | tifinagh-extended ma: Tifinagh Extended
171 | tifinagh-phonetic ma: Tifinagh Phonetic
172 | tifinagh-extended-phonetic ma: Tifinagh Extended Phonetic
173 | fr-dvorak ca: French Dvorak
174 | fr-legacy ca: French (legacy)
175 | multix ca: Multilingual
176 | multi ca: Multilingual, first part
177 | multi-2gr ca: Multilingual, second part
178 | ike ca: Inuktitut
179 | shs ca: Secwepemctsin
180 | kut ca: Ktunaxa
181 | eng ca: English
182 | tib cn: Tibetan
183 | tib_asciinum cn: Tibetan (with ASCII numerals)
184 | alternatequotes hr: Use guillemets for quotes
185 | unicode hr: Use Croatian digraphs
186 | unicodeus hr: US keyboard with Croatian digraphs
187 | us hr: US keyboard with Croatian letters
188 | bksl cz: With <\|> key
189 | qwerty cz: qwerty
190 | qwerty_bksl cz: qwerty, extended Backslash
191 | ucw cz: UCW layout (accented letters only)
192 | dvorak-ucw cz: US Dvorak with CZ UCW support
193 | nodeadkeys dk: Eliminate dead keys
194 | mac dk: Macintosh
195 | mac_nodeadkeys dk: Macintosh, eliminate dead keys
196 | dvorak dk: Dvorak
197 | sundeadkeys nl: Sun dead keys
198 | mac nl: Macintosh
199 | std nl: Standard
200 | nodeadkeys ee: Eliminate dead keys
201 | dvorak ee: Dvorak
202 | us ee: US keyboard with Estonian letters
203 | pes_keypad ir: Persian, with Persian Keypad
204 | ku ir: Kurdish, Latin Q
205 | ku_f ir: Kurdish, (F)
206 | ku_alt ir: Kurdish, Latin Alt-Q
207 | ku_ara ir: Kurdish, Arabic-Latin
208 | ku iq: Kurdish, Latin Q
209 | ku_f iq: Kurdish, (F)
210 | ku_alt iq: Kurdish, Latin Alt-Q
211 | ku_ara iq: Kurdish, Arabic-Latin
212 | nodeadkeys fo: Eliminate dead keys
213 | nodeadkeys fi: Eliminate dead keys
214 | smi fi: Northern Saami
215 | classic fi: Classic
216 | mac fi: Macintosh
217 | nodeadkeys fr: Eliminate dead keys
218 | sundeadkeys fr: Sun dead keys
219 | oss fr: Alternative
220 | oss_latin9 fr: Alternative, latin-9 only
221 | oss_nodeadkeys fr: Alternative, eliminate dead keys
222 | oss_sundeadkeys fr: Alternative, Sun dead keys
223 | latin9 fr: (Legacy) Alternative
224 | latin9_nodeadkeys fr: (Legacy) Alternative, eliminate dead keys
225 | latin9_sundeadkeys fr: (Legacy) Alternative, Sun dead keys
226 | bepo fr: Bepo, ergonomic, Dvorak way
227 | bepo_latin9 fr: Bepo, ergonomic, Dvorak way, latin-9 only
228 | dvorak fr: Dvorak
229 | mac fr: Macintosh
230 | bre fr: Breton
231 | oci fr: Occitan
232 | geo fr: Georgian AZERTY Tskapo
233 | generic gh: Multilingual
234 | akan gh: Akan
235 | ewe gh: Ewe
236 | fula gh: Fula
237 | ga gh: Ga
238 | hausa gh: Hausa
239 | ergonomic ge: Ergonomic
240 | mess ge: MESS
241 | ru ge: Russian
242 | os ge: Ossetian
243 | deadacute de: Dead acute
244 | deadgraveacute de: Dead grave acute
245 | nodeadkeys de: Eliminate dead keys
246 | ro de: Romanian keyboard with German letters
247 | ro_nodeadkeys de: Romanian keyboard with German letters, eliminate dead keys
248 | dvorak de: Dvorak
249 | sundeadkeys de: Sun dead keys
250 | neo de: Neo 2
251 | mac de: Macintosh
252 | mac_nodeadkeys de: Macintosh, eliminate dead keys
253 | dsb de: Lower Sorbian
254 | dsb_qwertz de: Lower Sorbian (qwertz)
255 | qwerty de: qwerty
256 | simple gr: Simple
257 | extended gr: Extended
258 | nodeadkeys gr: Eliminate dead keys
259 | polytonic gr: Polytonic
260 | standard hu: Standard
261 | nodeadkeys hu: Eliminate dead keys
262 | qwerty hu: qwerty
263 | 101_qwertz_comma_dead hu: 101/qwertz/comma/Dead keys
264 | 101_qwertz_comma_nodead hu: 101/qwertz/comma/Eliminate dead keys
265 | 101_qwertz_dot_dead hu: 101/qwertz/dot/Dead keys
266 | 101_qwertz_dot_nodead hu: 101/qwertz/dot/Eliminate dead keys
267 | 101_qwerty_comma_dead hu: 101/qwerty/comma/Dead keys
268 | 101_qwerty_comma_nodead hu: 101/qwerty/comma/Eliminate dead keys
269 | 101_qwerty_dot_dead hu: 101/qwerty/dot/Dead keys
270 | 101_qwerty_dot_nodead hu: 101/qwerty/dot/Eliminate dead keys
271 | 102_qwertz_comma_dead hu: 102/qwertz/comma/Dead keys
272 | 102_qwertz_comma_nodead hu: 102/qwertz/comma/Eliminate dead keys
273 | 102_qwertz_dot_dead hu: 102/qwertz/dot/Dead keys
274 | 102_qwertz_dot_nodead hu: 102/qwertz/dot/Eliminate dead keys
275 | 102_qwerty_comma_dead hu: 102/qwerty/comma/Dead keys
276 | 102_qwerty_comma_nodead hu: 102/qwerty/comma/Eliminate dead keys
277 | 102_qwerty_dot_dead hu: 102/qwerty/dot/Dead keys
278 | 102_qwerty_dot_nodead hu: 102/qwerty/dot/Eliminate dead keys
279 | Sundeadkeys is: Sun dead keys
280 | nodeadkeys is: Eliminate dead keys
281 | mac is: Macintosh
282 | dvorak is: Dvorak
283 | lyx il: lyx
284 | phonetic il: Phonetic
285 | biblical il: Biblical Hebrew (Tiro)
286 | nodeadkeys it: Eliminate dead keys
287 | mac it: Macintosh
288 | us it: US keyboard with Italian letters
289 | geo it: Georgian
290 | kana jp: Kana
291 | OADG109A jp: OADG 109A
292 | mac jp: Macintosh
293 | phonetic kg: Phonetic
294 | ruskaz kz: Russian with Kazakh
295 | kazrus kz: Kazakh with Russian
296 | basic la: Laos
297 | stea la: Laos - STEA (proposed standard layout)
298 | nodeadkeys latam: Eliminate dead keys
299 | deadtilde latam: Include dead tilde
300 | sundeadkeys latam: Sun dead keys
301 | std lt: Standard
302 | us lt: US keyboard with Lithuanian letters
303 | ibm lt: IBM (LST 1205-92)
304 | lekp lt: LEKP
305 | lekpa lt: LEKPa
306 | apostrophe lv: Apostrophe (') variant
307 | tilde lv: Tilde (~) variant
308 | fkey lv: F-letter (F) variant
309 | cyrillic me: Cyrillic
310 | cyrillicyz me: Cyrillic, Z and ZHE swapped
311 | latinunicode me: Latin unicode
312 | latinyz me: Latin qwerty
313 | latinunicodeyz me: Latin unicode qwerty
314 | cyrillicalternatequotes me: Cyrillic with guillemets
315 | latinalternatequotes me: Latin with guillemets
316 | nodeadkeys mk: Eliminate dead keys
317 | us mt: Maltese keyboard with US layout
318 | nodeadkeys no: Eliminate dead keys
319 | dvorak no: Dvorak
320 | smi no: Northern Saami
321 | smi_nodeadkeys no: Northern Saami, eliminate dead keys
322 | mac no: Macintosh
323 | mac_nodeadkeys no: Macintosh, eliminate dead keys
324 | qwertz pl: qwertz
325 | dvorak pl: Dvorak
326 | dvorak_quotes pl: Dvorak, Polish quotes on quotemark key
327 | dvorak_altquotes pl: Dvorak, Polish quotes on key 1
328 | csb pl: Kashubian
329 | ru_phonetic_dvorak pl: Russian phonetic Dvorak
330 | dvp pl: Programmer Dvorak
331 | nodeadkeys pt: Eliminate dead keys
332 | sundeadkeys pt: Sun dead keys
333 | mac pt: Macintosh
334 | mac_nodeadkeys pt: Macintosh, eliminate dead keys
335 | mac_sundeadkeys pt: Macintosh, Sun dead keys
336 | nativo pt: Nativo
337 | nativo-us pt: Nativo for USA keyboards
338 | nativo-epo pt: Nativo for Esperanto
339 | cedilla ro: Cedilla
340 | std ro: Standard
341 | std_cedilla ro: Standard (Cedilla)
342 | winkeys ro: Winkeys
343 | crh_f ro: Crimean Tatar (Turkish F)
344 | crh_alt ro: Crimean Tatar (Turkish Alt-Q)
345 | crh_dobruca1 ro: Crimean Tatar (Dobruca-1 Q)
346 | crh_dobruca2 ro: Crimean Tatar (Dobruca-2 Q)
347 | phonetic ru: Phonetic
348 | phonetic_winkeys ru: Phonetic Winkeys
349 | typewriter ru: Typewriter
350 | legacy ru: Legacy
351 | typewriter-legacy ru: Typewriter, legacy
352 | tt ru: Tatar
353 | os_legacy ru: Ossetian, legacy
354 | os_winkeys ru: Ossetian, Winkeys
355 | cv ru: Chuvash
356 | cv_latin ru: Chuvash Latin
357 | udm ru: Udmurt
358 | kom ru: Komi
359 | sah ru: Yakut
360 | xal ru: Kalmyk
361 | dos ru: DOS
362 | srp ru: Serbian
363 | bak ru: Bashkirian
364 | yz rs: Z and ZHE swapped
365 | latin rs: Latin
366 | latinunicode rs: Latin Unicode
367 | latinyz rs: Latin qwerty
368 | latinunicodeyz rs: Latin Unicode qwerty
369 | alternatequotes rs: With guillemets
370 | latinalternatequotes rs: Latin with guillemets
371 | alternatequotes si: Use guillemets for quotes
372 | us si: US keyboard with Slovenian letters
373 | bksl sk: Extended Backslash
374 | qwerty sk: qwerty
375 | qwerty_bksl sk: qwerty, extended Backslash
376 | nodeadkeys es: Eliminate dead keys
377 | deadtilde es: Include dead tilde
378 | sundeadkeys es: Sun dead keys
379 | dvorak es: Dvorak
380 | ast es: Asturian variant with bottom-dot H and bottom-dot L
381 | cat es: Catalan variant with middle-dot L
382 | mac es: Macintosh
383 | nodeadkeys se: Eliminate dead keys
384 | dvorak se: Dvorak
385 | rus se: Russian phonetic
386 | rus_nodeadkeys se: Russian phonetic, eliminate dead keys
387 | smi se: Northern Saami
388 | mac se: Macintosh
389 | svdvorak se: Svdvorak
390 | legacy ch: Legacy
391 | de_nodeadkeys ch: German, eliminate dead keys
392 | de_sundeadkeys ch: German, Sun dead keys
393 | fr ch: French
394 | fr_nodeadkeys ch: French, eliminate dead keys
395 | fr_sundeadkeys ch: French, Sun dead keys
396 | fr_mac ch: French (Macintosh)
397 | de_mac ch: German (Macintosh)
398 | syc sy: Syriac
399 | syc_phonetic sy: Syriac phonetic
400 | ku sy: Kurdish, Latin Q
401 | ku_f sy: Kurdish, (F)
402 | ku_alt sy: Kurdish, Latin Alt-Q
403 | legacy tj: Legacy
404 | tam_unicode lk: Tamil Unicode
405 | tam_TAB lk: Tamil TAB Typewriter
406 | tis th: TIS-820.2538
407 | pat th: Pattachote
408 | f tr: (F)
409 | alt tr: Alt-Q
410 | sundeadkeys tr: Sun dead keys
411 | ku tr: Kurdish, Latin Q
412 | ku_f tr: Kurdish, (F)
413 | ku_alt tr: Kurdish, Latin Alt-Q
414 | intl tr: International (with dead keys)
415 | crh tr: Crimean Tatar (Turkish Q)
416 | crh_f tr: Crimean Tatar (Turkish F)
417 | crh_alt tr: Crimean Tatar (Turkish Alt-Q)
418 | indigenous tw: Indigenous
419 | saisiyat tw: Saisiyat
420 | phonetic ua: Phonetic
421 | typewriter ua: Typewriter
422 | winkeys ua: Winkeys
423 | legacy ua: Legacy
424 | rstu ua: Standard RSTU
425 | rstu_ru ua: Standard RSTU on Russian layout
426 | homophonic ua: Homophonic
427 | crh ua: Crimean Tatar (Turkish Q)
428 | crh_f ua: Crimean Tatar (Turkish F)
429 | crh_alt ua: Crimean Tatar (Turkish Alt-Q)
430 | extd gb: Extended - Winkeys
431 | intl gb: International (with dead keys)
432 | dvorak gb: Dvorak
433 | dvorakukp gb: Dvorak (UK Punctuation)
434 | mac gb: Macintosh
435 | colemak gb: Colemak
436 | latin uz: Latin
437 | crh uz: Crimean Tatar (Turkish Q)
438 | crh_f uz: Crimean Tatar (Turkish F)
439 | crh_alt uz: Crimean Tatar (Turkish Alt-Q)
440 | kr104 kr: 101/104 key Compatible
441 | CloGaelach ie: CloGaelach
442 | UnicodeExpert ie: UnicodeExpert
443 | ogam ie: Ogham
444 | ogam_is434 ie: Ogham IS434
445 | urd-crulp pk: CRULP
446 | urd-nla pk: NLA
447 | ara pk: Arabic
448 | legacy epo: displaced semicolon and quote (obsolete)
449 | igbo ng: Igbo
450 | yoruba ng: Yoruba
451 | hausa ng: Hausa
452 | left_hand brai: Left hand
453 | right_hand brai: Right hand
454 | alt tm: Alt-Q
455 | fr-oss ml: Français (France Alternative)
456 | us-mac ml: English (USA Macintosh)
457 | us-intl ml: English (USA International)
458 |
--------------------------------------------------------------------------------
/config/sway/scripts/clamshell.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/bash
2 | if [-d "/proc/acpi" ]; then
3 | if cat /proc/acpi/button/lid/*/state | grep -q open; then
4 | swaymsg output eDP-1 enable
5 | else
6 | swaymsg output eDP-1 disable
7 | fi
8 | fi
9 |
--------------------------------------------------------------------------------
/config/sway/scripts/import-gsettings:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # usage: import-gsettings
4 | config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
5 | if [ ! -f "$config" ]; then exit 1; fi
6 |
7 | gnome_schema="org.gnome.desktop.interface"
8 | gtk_theme="$(grep 'gtk-theme-name' "$config" | cut -d'=' -f2)"
9 | icon_theme="$(grep 'gtk-icon-theme-name' "$config" | cut -d'=' -f2)"
10 | cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | cut -d'=' -f2)"
11 | font_name="$(grep 'gtk-font-name' "$config" | cut -d'=' -f2)"
12 | gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
13 | gsettings set "$gnome_schema" icon-theme "$icon_theme"
14 | gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
15 | gsettings set "$gnome_schema" font-name "$font_name"
16 |
--------------------------------------------------------------------------------
/config/sway/scripts/lockman.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Times the screen off and puts it to background
3 | swayidle \
4 | timeout 300 'swaymsg "output * power off"' \
5 | resume 'swaymsg "output * power on"' &
6 | # Locks the screen immediately
7 | swaylock
8 | # Kills last background task so idle timer doesn't keep running
9 | kill %%
10 |
--------------------------------------------------------------------------------
/config/sway/scripts/screenshot.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | entries="Active Screen Output Area Window"
4 |
5 | selected=$(printf '%s\n' $entries | wofi --style=$HOME/.config/wofi/style.widgets.css --conf=$HOME/.config/wofi/config.screenshot | awk '{print tolower($1)}')
6 |
7 | case $selected in
8 | active)
9 | /usr/share/sway/scripts/grimshot --notify save active;;
10 | screen)
11 | /usr/share/sway/scripts/grimshot --notify save screen;;
12 | output)
13 | /usr/share/sway/scripts/grimshot --notify save output;;
14 | area)
15 | /usr/share/sway/scripts/grimshot --notify save area;;
16 | window)
17 | /usr/share/sway/scripts/grimshot --notify save window;;
18 | esac
19 |
--------------------------------------------------------------------------------
/config/sway/scripts/swayfader.py:
--------------------------------------------------------------------------------
1 | from i3ipc import Connection, Event
2 | from threading import Thread
3 | from time import sleep
4 |
5 |
6 | FRAME_T = 0.01 # time taken between each frame of fade
7 |
8 | # transparency values
9 | CON_AC = 1 # active window
10 | CON_INAC = 0.5 # inactive window
11 | FLOAT_AC = 1 # active floating window
12 | FLOAT_INAC = 0.5 # inactive floating window
13 | BOT_INAC = 0.9 # bottom window
14 |
15 |
16 | # fade durations
17 | FADE_TIME = 0.2
18 | ALT_FADE_TIME = 0.1
19 |
20 | CON_OUT = FADE_TIME # window fading out
21 | CON_IN = 0.15 # window fading in
22 | FLOAT_OUT = ALT_FADE_TIME # floating window fading out
23 | FLOAT_IN = ALT_FADE_TIME # floating window fading in
24 | BOT_OUT = ALT_FADE_TIME # bottom window fading out
25 | BOT_IN = ALT_FADE_TIME # bottom window fading in
26 | BOT_SWITCH_IN = FADE_TIME # window becoming bottom window
27 | BOT_SWITCH_OUT = FADE_TIME # bottom window becoming window
28 | FLOAT_BOT_OUT = FADE_TIME # floating window fading out from bottom
29 | FLOAT_BOT_IN = FADE_TIME # floating window fading in from bottom
30 |
31 |
32 | class Fader:
33 | def __init__(self):
34 | self.floating_windows = []
35 | self.fader_running = False
36 | self.fade_queue = []
37 | self.fade_data = {}
38 | self.bottom_win = None
39 | self.old_win = None
40 | self.active_win = None
41 |
42 | ipc = Connection()
43 | ipc.on(Event.WINDOW_FOCUS, self.on_window_focus)
44 | ipc.on(Event.WINDOW_NEW, self.on_window_new)
45 | ipc.on(Event.WINDOW_FLOATING, self.on_window_floating)
46 |
47 | for win in ipc.get_tree():
48 | if win.type == "floating_con":
49 | self.floating_windows.append(win.id)
50 | if win.focused:
51 | change_opacity(win, FLOAT_AC)
52 | self.active_win = win
53 | else:
54 | change_opacity(win, FLOAT_INAC)
55 | elif win.type == "con":
56 | if win.focused:
57 | self.active_win = win
58 | change_opacity(win, CON_AC)
59 | else:
60 | change_opacity(win, CON_INAC)
61 |
62 | ipc.main()
63 |
64 | def add_fade(self, win, start, target, duration):
65 | if not duration:
66 | if win.id in self.fade_queue:
67 | self.fade_queue.remove(win.id)
68 | del self.fade_data[win.id]
69 | change_opacity(win, target)
70 | return
71 |
72 | if win.id in self.fade_queue:
73 | f = self.fade_data[win.id]
74 | change = (FRAME_T / duration) * (target - f["opacity"])
75 | f["change"] = change
76 | f["target"] = target
77 | return
78 |
79 | change_opacity(win, start)
80 | change = (FRAME_T / duration) * (target - start)
81 | fade_data = {"opacity": start, "change": change, "target": target, "win": win}
82 | self.fade_queue.append(win.id)
83 | self.fade_data[win.id] = fade_data
84 |
85 | def start_fader(self):
86 | if not self.fader_running:
87 | self.fader_running = True
88 | Thread(target=self.fader).start()
89 |
90 | def fader(self):
91 | while self.fade_queue:
92 | for win_id in self.fade_queue.copy():
93 | try:
94 | f = self.fade_data[win_id]
95 | except KeyError:
96 | continue
97 | f["opacity"] += f["change"]
98 |
99 | finished = False
100 | if f["change"] > 0:
101 | if f["opacity"] >= f["target"]:
102 | finished = True
103 | elif f["opacity"] <= f["target"]:
104 | finished = True
105 |
106 | if finished:
107 | change_opacity(f["win"], f["target"])
108 | try:
109 | self.fade_queue.remove(win_id)
110 | del self.fade_data[win_id]
111 | except (KeyError, ValueError):
112 | continue
113 | else:
114 | change_opacity(f["win"], f["opacity"])
115 |
116 | sleep(FRAME_T)
117 | self.fader_running = False
118 |
119 | def on_window_focus(self, ipc, e):
120 | if self.active_win.id == e.container.id:
121 | return
122 |
123 | if self.active_win.type == "con":
124 | if e.container.type == "con":
125 | self.add_fade(
126 | e.container, CON_INAC,
127 | CON_AC, CON_IN)
128 | self.add_fade(
129 | self.active_win, CON_AC,
130 | CON_INAC, CON_OUT)
131 |
132 | else:
133 | self.add_fade(
134 | e.container, FLOAT_INAC,
135 | FLOAT_AC, FLOAT_IN)
136 | self.add_fade(
137 | self.active_win, CON_AC,
138 | BOT_INAC, BOT_OUT)
139 | self.bottom_win = self.active_win
140 |
141 | else:
142 | if e.container.type == "con":
143 | self.add_fade(
144 | self.active_win, FLOAT_AC,
145 | FLOAT_INAC, FLOAT_BOT_OUT)
146 |
147 | if not self.bottom_win:
148 | self.add_fade(
149 | e.container, CON_INAC,
150 | CON_AC, CON_IN)
151 |
152 | elif e.container.id != self.bottom_win.id:
153 | self.add_fade(
154 | self.bottom_win, BOT_INAC,
155 | CON_INAC, BOT_SWITCH_OUT)
156 | self.add_fade(
157 | e.container, CON_INAC,
158 | CON_AC, BOT_SWITCH_IN)
159 | self.bottom_win = e.container
160 |
161 | else:
162 | self.add_fade(
163 | self.bottom_win, BOT_INAC,
164 | CON_AC, BOT_IN)
165 |
166 | else:
167 | self.add_fade(
168 | self.active_win, FLOAT_AC,
169 | FLOAT_INAC, FLOAT_OUT)
170 | self.add_fade(
171 | e.container, FLOAT_INAC,
172 | FLOAT_AC, FLOAT_IN)
173 |
174 | self.start_fader()
175 | self.active_win = e.container
176 |
177 | def on_window_new(self, ipc, e):
178 | if self.active_win:
179 | if self.active_win.type == "con":
180 | change_opacity(self.active_win, CON_INAC)
181 | else:
182 | change_opacity(self.active_win, FLOAT_INAC)
183 |
184 | if self.bottom_win:
185 | change_opacity(self.bottom_win, CON_INAC)
186 |
187 | elif self.active_win and self.active_win.type == "con":
188 | self.bottom_win = self.active_win
189 | change_opacity(self.bottom_win, CON_INAC)
190 |
191 | change_opacity(e.container, CON_AC)
192 | self.old_win = self.active_win
193 | self.active_win = e.container
194 |
195 | def on_window_floating(self, ipc, e):
196 | c_id = e.container.id
197 | if c_id not in self.floating_windows:
198 | self.floating_windows.append(c_id)
199 |
200 | if self.active_win.id != e.container.id:
201 | change_opacity(e.container, FLOAT_INAC)
202 |
203 | else:
204 | if self.old_win and self.bottom_win:
205 | if self.old_win.type == "con":
206 | self.bottom_win = self.old_win
207 | change_opacity(self.bottom_win, BOT_INAC)
208 | change_opacity(e.container, FLOAT_AC)
209 |
210 | else:
211 | self.floating_windows.remove(c_id)
212 | if self.active_win.id != e.container.id:
213 | change_opacity(e.container, CON_INAC)
214 |
215 | else:
216 | if self.old_win and self.old_win.type == "con":
217 | change_opacity(self.old_win, CON_INAC)
218 | change_opacity(self.active_win, CON_AC)
219 |
220 | self.active_win = e.container
221 |
222 |
223 | def change_opacity(win, trans):
224 | win.command("opacity " + str(trans))
225 |
226 |
227 | if __name__ == "__main__":
228 | Fader()
229 |
230 |
--------------------------------------------------------------------------------
/config/sway/scripts/weather.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | LOC="$1"
4 | # HTML encode string as %20
5 | LOCATION=$(sed -e "s/ /%20/g" <<<"$LOC")
6 | content=$(curl -sS "https://thisdavej.azurewebsites.net/api/weather/current?loc=NewYork°=C")
7 | ICON=$(curl -s 'https://wttr.in/?format=1' | sed 's/[+0-9a-cA-Z°-]//g' )
8 | # echo $ICON
9 | TEMP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)"' | sed 's/"//g')
10 | TOOLTIP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)\n\(.skytext)"' | sed 's/"//g')
11 | CLASS=$(echo $content | jq .skytext)
12 | echo '{"text": "'$TEMP'", "tooltip": "'$ICON $TOOLTIP $LOC'", "class": '$CLASS' }'
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/config/waybar/config:
--------------------------------------------------------------------------------
1 | // KED'S WAYBAR CONFIG
2 | // MAIN CONFIG FILE [CONFIG]
3 | // (C) 2023 Kedislav - File under GNU GPL v3.0
4 | /////////////////////////////////////////////////////////////////////
5 | // Scripts and custom modules are saved in the "scripts" directory.
6 | /////////////////////////////////////////////////////////////////////
7 |
8 | {
9 | "layer": "top",
10 | "position": "top",
11 | "height": 20,
12 | "width": 1575,
13 | "margin": "4, 1, 2, 1",
14 |
15 | "modules-left": ["custom/launcher", "sway/workspaces", "sway/mode", "cpu", "memory", "disk"],
16 | "modules-center": ["custom/weather"],
17 | "modules-right": ["tray", "pulseaudio", "backlight", "battery", "clock", "custom/powermenu"],
18 |
19 | // MODULE CONFIG
20 |
21 | "backlight": {
22 | "format": "{percent}%",
23 | "min-length": 7
24 | },
25 |
26 | "battery": {
27 | "states": {
28 | "warning": 30,
29 | "critical": 15
30 | },
31 | "format": "{icon} {capacity}%",
32 | "format-charging": " {capacity}%",
33 | "format-plugged": " {capacity}%",
34 | "format-alt": "{icon} {time}",
35 | "format-icons": ["", "", "", "", " "]
36 | },
37 |
38 | "bluetooth": {
39 | "format-disabled": "",
40 | "format-off": "",
41 | "format-on": "",
42 | "format-connected": " {device_alias}",
43 | "format-connected-battery": " {device_alias} {device_battery_percentage}%",
44 | "on-click": "connman-gtk",
45 | "tooltip": false
46 | },
47 |
48 | "clock": {
49 | "tooltip": false,
50 | "format": "{:%I:%M %p}"
51 | },
52 |
53 | "cpu": {
54 | "interval": 30,
55 | "format": " {usage}%",
56 | "min-length": 7
57 | },
58 |
59 | "disk": {
60 | "interval": 30,
61 | "format": " {percentage_used}%",
62 | "path": "/"
63 | },
64 |
65 | "idle_inhibitor": {
66 | "format": "{icon}",
67 | "format-icons": {
68 | "activated": "",
69 | "deactivated": ""
70 | }
71 | },
72 |
73 | "keyboard-state": {
74 | //"numlock": true,
75 | "capslock": true,
76 | "format": "{name} {icon} ",
77 | "format-icons": {
78 | "locked": " ",
79 | "unlocked": ""
80 | },
81 | },
82 |
83 | "memory": {
84 | "interval": 30,
85 | "format": " {}%",
86 | "min-length": 7
87 | },
88 |
89 | "network": {
90 | "tooltip": true,
91 | "interval": 30,
92 | "format": "",
93 | "format-wifi": "",
94 | "format-ethernet": "",
95 | "format-disconnected": "",
96 | "tooltip-format": "LINK: {ifname}\nIP: {ipaddr}/{cidr}\nSPEED: {bandwidthTotalBytes}",
97 | "on-click": "connman-gtk"
98 | },
99 | "network#vpn": {
100 | "interface": "tun0",
101 | "format": ""
102 | },
103 |
104 | "pulseaudio": {
105 | "format": "{icon} {volume}%",
106 | "format-bluetooth": "{icon} {volume}%",
107 | "format-muted": "",
108 | "format-icons": {
109 | "headphone": "",
110 | "hands-free": "",
111 | "headset": "",
112 | "phone": "",
113 | "portable": "",
114 | "car": "",
115 | "default": ["", "", ""]
116 | },
117 | "scroll-step": 1,
118 | "on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
119 | "on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%"
120 | },
121 |
122 | "sway/mode": {
123 | "format": "{}"
124 | },
125 |
126 | "sway/workspaces": {
127 | "disable-scroll": true,
128 | "all-outputs": false,
129 | "on-click": "activate",
130 | "format": "{icon}",
131 | "format-icons": {
132 | "1": "一",
133 | "2": "二",
134 | "3": "三",
135 | "4": "四",
136 | "5": "五",
137 | "default": "1"
138 | //"urgent": "",
139 | //"focused": "",
140 | //"default": ""
141 | },
142 | },
143 |
144 | "temperature": {
145 | "tooltip": false,
146 | "interval": 30,
147 | "critical-threshold": 70,
148 | "format": "{icon} {temperatureC}",
149 | "format-icons": ["", "", "", "", ""]
150 | },
151 |
152 | // CUSTOM MODULES
153 |
154 | "custom/launcher": {
155 | "format": "",
156 | "on-click": "wofi",
157 | "tooltip": false
158 | },
159 |
160 | "custom/weather": {
161 | "format": "{}",
162 | "tooltip": true,
163 | "interval": 1800,
164 | "exec": "$HOME/.config/waybar/scripts/wttr.py",
165 | "return-type": "json"
166 | },
167 |
168 | "custom/powermenu": {
169 | "format": "",
170 | "on-click": "$HOME/.config/wofi/wofi-power.sh",
171 | "on-click-right": "$HOME/.config/wofi/wofi-power.sh",
172 | "tooltip": false
173 | },
174 | }
175 |
176 |
--------------------------------------------------------------------------------
/config/waybar/icons:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/config/waybar/scripts/wttr.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python3
2 |
3 | import json
4 | import requests
5 | from datetime import datetime
6 |
7 | WEATHER_CODES = {
8 | '113': '☀️',
9 | '116': '⛅️',
10 | '119': '☁️',
11 | '122': '☁️',
12 | '143': '🌫',
13 | '176': '🌦',
14 | '179': '🌧',
15 | '182': '🌧',
16 | '185': '🌧',
17 | '200': '⛈',
18 | '227': '🌨',
19 | '230': '❄️',
20 | '248': '🌫',
21 | '260': '🌫',
22 | '263': '🌦',
23 | '266': '🌦',
24 | '281': '🌧',
25 | '284': '🌧',
26 | '293': '🌦',
27 | '296': '🌦',
28 | '299': '🌧',
29 | '302': '🌧',
30 | '305': '🌧',
31 | '308': '🌧',
32 | '311': '🌧',
33 | '314': '🌧',
34 | '317': '🌧',
35 | '320': '🌨',
36 | '323': '🌨',
37 | '326': '🌨',
38 | '329': '❄️',
39 | '332': '❄️',
40 | '335': '❄️',
41 | '338': '❄️',
42 | '350': '🌧',
43 | '353': '🌦',
44 | '356': '🌧',
45 | '359': '🌧',
46 | '362': '🌧',
47 | '365': '🌧',
48 | '368': '🌨',
49 | '371': '❄️',
50 | '374': '🌧',
51 | '377': '🌧',
52 | '386': '⛈',
53 | '389': '🌩',
54 | '392': '⛈',
55 | '395': '❄️'
56 | }
57 |
58 | data = {}
59 |
60 |
61 | weather = requests.get("https://wttr.in/Santiago,%20Chile?format=j1").json()
62 |
63 |
64 | def format_time(time):
65 | return time.replace("00", "").zfill(2)
66 |
67 |
68 | def format_temp(temp):
69 | return (hour['FeelsLikeC']+"°").ljust(3)
70 |
71 |
72 | def format_chances(hour):
73 | chances = {
74 | "chanceoffog": "Fog",
75 | "chanceoffrost": "Frost",
76 | "chanceofovercast": "Overcast",
77 | "chanceofrain": "Rain",
78 | "chanceofsnow": "Snow",
79 | "chanceofsunshine": "Sunshine",
80 | "chanceofthunder": "Thunder",
81 | "chanceofwindy": "Wind"
82 | }
83 |
84 | conditions = []
85 | for event in chances.keys():
86 | if int(hour[event]) > 0:
87 | conditions.append(chances[event]+" "+hour[event]+"%")
88 | return ", ".join(conditions)
89 |
90 |
91 | data['text'] = WEATHER_CODES[weather['current_condition'][0]['weatherCode']] + \
92 | " " + weather['current_condition'][0]['FeelsLikeC']+ "°"
93 | #data['text'] = weather['current_condition'][0]['FeelsLikeC']+"°"
94 |
95 | data['tooltip'] = f"{weather['current_condition'][0]['weatherDesc'][0]['value']} {weather['current_condition'][0]['temp_C']}°\n"
96 | data['tooltip'] += f"Feels like: {weather['current_condition'][0]['FeelsLikeC']}°\n"
97 | data['tooltip'] += f"Wind: {weather['current_condition'][0]['windspeedKmph']}Km/h\n"
98 | data['tooltip'] += f"Humidity: {weather['current_condition'][0]['humidity']}%\n"
99 | for i, day in enumerate(weather['weather']):
100 | data['tooltip'] += f"\n"
101 | if i == 0:
102 | data['tooltip'] += "Today, "
103 | if i == 1:
104 | data['tooltip'] += "Tomorrow, "
105 | data['tooltip'] += f"{day['date']}\n"
106 | data['tooltip'] += f"⬆️ {day['maxtempC']}° ⬇️ {day['mintempC']}° "
107 | data['tooltip'] += f" {day['astronomy'][0]['sunrise']} {day['astronomy'][0]['sunset']}\n"
108 | for hour in day['hourly']:
109 | if i == 0:
110 | if int(format_time(hour['time'])) < datetime.now().hour-2:
111 | continue
112 | data['tooltip'] += f"{format_time(hour['time'])} {WEATHER_CODES[hour['weatherCode']]} {format_temp(hour['FeelsLikeC'])} {hour['weatherDesc'][0]['value']}, {format_chances(hour)}\n"
113 |
114 |
115 | print(json.dumps(data))
116 |
--------------------------------------------------------------------------------
/config/waybar/style.css:
--------------------------------------------------------------------------------
1 | * {
2 | transition: none;
3 | box-shadow: none;
4 | font-family: JetBrains Mono;
5 | font-size: 13px;
6 | color: #f2f2f2;
7 | }
8 |
9 | #waybar {
10 | margin-top: 5px;
11 | margin-right: 5px;
12 | margin-left: 5px;
13 | background: #181825;
14 | border-radius: 7px;
15 | border: none;
16 | }
17 |
18 | #workspaces {
19 | margin: 0 3px;
20 | color: transparent;
21 | }
22 |
23 | #workspaces button {
24 | margin: 3px 0;
25 | padding: 0 3px;
26 | }
27 |
28 | #workspaces button.visible {
29 | }
30 |
31 | #workspaces button.focused {
32 | background: #32363d;
33 | border-radius: 10px;
34 | }
35 |
36 | #workspaces button.urgent * {
37 | color: #ff0055;
38 | }
39 |
40 |
41 | #mode, #battery, #bluetooth, #cpu, #disk, #memory, #temperature, #network, #pulseaudio, #idle_inhibitor, #backlight, #mpd, #clock, #temperature {
42 | margin: 4px 2px;
43 | padding: 0 8px;
44 | border-radius: 20px;
45 | min-width: 8px;
46 | background-color: #181825;
47 | }
48 |
49 | #clock {
50 | margin: 4px 2px;
51 | padding: 0 10px;
52 | }
53 |
54 | #tray {
55 | margin: 3px 2px;
56 | border-radius: 12px;
57 | background-color: #11111b;
58 | }
59 |
60 | #tray * {
61 | padding: 0 6px;
62 | border-left: 1px solid #11111b;
63 | }
64 |
65 | #tray *:first-child {
66 | border-left: none;
67 | }
68 |
69 | #mpd * {
70 | min-width: 10px;
71 | font-size: 11px;
72 | font-family: JetBrainsMono;
73 | }
74 |
75 | #custom-powermenu {
76 | margin: 4px 5px 4px 1px;
77 | padding: 0 6px;
78 | background-color: #585b70;
79 | border-radius: 10px;
80 | min-width: 15px;
81 | }
82 |
83 | #custom-launcher {
84 | margin: 4px 1px 4px 5px;
85 | padding: 0 6px;
86 | background-color: #585b70;
87 | border-radius: 10px;
88 | min-width: 15px;
89 | }
90 |
91 | #battery.warning {
92 | color: #e5c07a
93 | }
94 |
95 | #battery.critical {
96 | color: #ff0055
97 | }
98 |
99 | #temperature.critical {
100 | color: #e06b74;
101 | }
102 |
--------------------------------------------------------------------------------
/config/wofi/config:
--------------------------------------------------------------------------------
1 | # KED'S WOFI CONFIG
2 | # MAIN CONFIG FILE [CONFIG]
3 | # (C) 2023 Kedislav - File under GNU GPL v3.0
4 | #////////////////////////////////////////////////////////////////
5 | # Custom scripts are saved in the "scripts" directory.
6 | # Styling can be found in the "style.css" file.
7 | #////////////////////////////////////////////////////////////////
8 |
9 | width=300
10 | height=600
11 | mode=drun,run
12 |
13 | x=10
14 | y=0
15 | location=top_left
16 |
17 | prompt=apps
18 | term=alacritty
19 |
20 | allow_images=false
21 | allow_markup=false
22 | image_size=14
23 |
24 | orientation=vertical
25 |
26 | show_all=false
27 | separator=/n
28 | print_line_num=true
29 |
--------------------------------------------------------------------------------
/config/wofi/scripts/powermenu.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | entries="⇠ Logout\n⏾ Suspend\n⭮ Reboot\n⏻ Shutdown"
4 |
5 | selected=$(echo -e $entries|wofi --width 250 --height 210 --xoffset=1660 --yoffset=0 --prompt=leaving? --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
6 |
7 | case $selected in
8 | logout)
9 | swaymsg exit;;
10 | suspend)
11 | exec systemctl suspend;;
12 | reboot)
13 | exec systemctl reboot;;
14 | shutdown)
15 | exec systemctl poweroff -i;;
16 | esac
17 |
--------------------------------------------------------------------------------
/config/wofi/style.css:
--------------------------------------------------------------------------------
1 | window {
2 | margin: 5px;
3 | border: 2px solid #313244;
4 | border-radius: 5px;
5 | background-color: #11111b;
6 | font-family: JetBrains Mono;
7 | font-size: 12px;
8 | color: #f2f2f2;
9 | }
10 |
11 | #input {
12 | margin: 5px;
13 | border: 2px solid #9399b2;
14 | border-radius: 5px;
15 | background-color: transparent;
16 | }
17 |
18 | #scroll {
19 | margin: 5px 0px;
20 | color: #f2f2f2;
21 | }
22 |
23 | #scroll:label {
24 | margin: 5px 0px;
25 | }
26 |
27 | #inner-box {
28 | margin: 5px;
29 | }
30 |
31 | #entry:selected {
32 | border: 2px solid #9399b2;
33 | background-color: transparent;
34 | border-radius: 5px;
35 | }
36 |
37 | #text:selected {
38 | color: #9399b2;
39 | }
40 |
--------------------------------------------------------------------------------
/config/wofi/wofi-power.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | entries="⇠ Logout\n⏾ Suspend\n⭮ Reboot\n⏻ Shutdown"
4 |
5 | selected=$(echo -e $entries|wofi --width 250 --height 210 --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
6 |
7 | case $selected in
8 | logout)
9 | swaymsg exit;;
10 | suspend)
11 | exec systemctl suspend;;
12 | reboot)
13 | exec systemctl reboot;;
14 | shutdown)
15 | exec systemctl poweroff -i;;
16 | esac
17 |
--------------------------------------------------------------------------------
/pmxrh3o9rdgb1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/laggy-tux/sway-Dots/27b5197471d129f30d8baf8ebc0237c2e005fbea/pmxrh3o9rdgb1.png
--------------------------------------------------------------------------------