updates and a lot of em
This commit is contained in:
		
							parent
							
								
									30cd55aca8
								
							
						
					
					
						commit
						bd0cf6ff9b
					
				
					 37 changed files with 618 additions and 96 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ window:
 | 
			
		|||
  #dimensions:
 | 
			
		||||
  #  columns: 0
 | 
			
		||||
  #  lines: 0
 | 
			
		||||
  opacity: 0.75
 | 
			
		||||
  opacity: 0.85
 | 
			
		||||
  dynamic_title: true
 | 
			
		||||
 | 
			
		||||
  # Window position (changes require restart)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,15 +1,15 @@
 | 
			
		|||
;; Standard awesome library|#
 | 
			
		||||
(local gears (require "gears"))
 | 
			
		||||
(local awful (require "awful"))
 | 
			
		||||
(global gears (require "gears"))
 | 
			
		||||
(global awful (require "awful"))
 | 
			
		||||
(require "awful.autofocus")
 | 
			
		||||
;; Widget and layout library
 | 
			
		||||
(local wibox (require "wibox"))
 | 
			
		||||
(global wibox (require "wibox"))
 | 
			
		||||
;; Theme handling library
 | 
			
		||||
(local beautiful (require "beautiful"))
 | 
			
		||||
(global beautiful (require "beautiful"))
 | 
			
		||||
(local xresources (require "beautiful.xresources"))
 | 
			
		||||
;; Notification library
 | 
			
		||||
(local naughty (require "naughty"))
 | 
			
		||||
(local menubar (require "menubar"))
 | 
			
		||||
(global naughty (require "naughty"))
 | 
			
		||||
(global menubar (require "menubar"))
 | 
			
		||||
;; Enable hotkeys help widget for VIM and other apps
 | 
			
		||||
;; when client with a matching name is opened:
 | 
			
		||||
(local hotkeys_popup (require "awful.hotkeys_popup"))
 | 
			
		||||
| 
						 | 
				
			
			@ -17,6 +17,10 @@
 | 
			
		|||
(local dpi xresources.apply_dpi)
 | 
			
		||||
(local ruled (require "ruled"))
 | 
			
		||||
 | 
			
		||||
(global togglebar (fn []
 | 
			
		||||
  (let [s (awful.screen.focused {:client true})]
 | 
			
		||||
       (s.togglebar))))
 | 
			
		||||
 | 
			
		||||
;; my splits
 | 
			
		||||
(local clientrules (require :rules))
 | 
			
		||||
(local keybindings (require :keybindings))
 | 
			
		||||
| 
						 | 
				
			
			@ -52,7 +56,7 @@
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
;; Import the bling modules and layouts
 | 
			
		||||
(local bling (require :bling))
 | 
			
		||||
(global bling (require :bling))
 | 
			
		||||
;; (local awestore (require "awestore"))
 | 
			
		||||
 | 
			
		||||
(ruled.notification.connect_signal
 | 
			
		||||
| 
						 | 
				
			
			@ -104,8 +108,8 @@
 | 
			
		|||
 | 
			
		||||
;; Table of layouts to cover with awful.layout.inc, order matters.
 | 
			
		||||
(set awful.layout.layouts [
 | 
			
		||||
                           bling.layout.mstab
 | 
			
		||||
                           awful.layout.suit.tile
 | 
			
		||||
                           bling.layout.mstab
 | 
			
		||||
                           bling.layout.centered
 | 
			
		||||
                           awful.layout.suit.floating
 | 
			
		||||
                           ;; awful.layout.suit.tile.left
 | 
			
		||||
| 
						 | 
				
			
			@ -183,6 +187,10 @@
 | 
			
		|||
   ;; Each screen has its own tag table.
 | 
			
		||||
   (awful.tag [ "   " "   " "   " "   " ] s (. awful.layout.layouts 1))
 | 
			
		||||
 | 
			
		||||
   (if (= s.index 1)
 | 
			
		||||
       (naughty.notification {:title "this is screen 1"})
 | 
			
		||||
 | 
			
		||||
       )
 | 
			
		||||
   ;; Make buffers on all sides so that tiled clients aren't pushed to edges
 | 
			
		||||
   (set s.padding (dpi 0))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -578,11 +586,11 @@
 | 
			
		|||
                          :shape gears.shape.rounded_bar
 | 
			
		||||
                          :bg beautiful.bg_normal
 | 
			
		||||
                          :fg beautiful.fg_normal
 | 
			
		||||
                          :opacity 0.8
 | 
			
		||||
                          :opacity 0.9
 | 
			
		||||
                          :visible true
 | 
			
		||||
                          :screen s }))
 | 
			
		||||
 | 
			
		||||
   (: s.mywibox :struts { :bottom (dpi 50) })
 | 
			
		||||
   (: s.mywibox :struts { :bottom (dpi 45) })
 | 
			
		||||
 | 
			
		||||
   ;; Add widgets to the wibox
 | 
			
		||||
   (: s.mywibox :setup {
 | 
			
		||||
| 
						 | 
				
			
			@ -617,8 +625,13 @@
 | 
			
		|||
                            :widget wibox.container.margin
 | 
			
		||||
                            }
 | 
			
		||||
                        })
 | 
			
		||||
   ))
 | 
			
		||||
   ;; (: s.mywibox :visible false)
 | 
			
		||||
   (set s.togglebar (fn []
 | 
			
		||||
                      (let [v (not s.mywibox.visible)]
 | 
			
		||||
                           (tset s.mywibox :visible v))))
 | 
			
		||||
   ;; (s.togglebar)
 | 
			
		||||
 | 
			
		||||
   ))
 | 
			
		||||
 | 
			
		||||
;; Mouse bindings
 | 
			
		||||
(root.buttons (gears.table.join
 | 
			
		||||
| 
						 | 
				
			
			@ -742,7 +755,7 @@
 | 
			
		|||
 | 
			
		||||
(awful.spawn.once "picom --experimental-backend")
 | 
			
		||||
(awful.spawn.once "/usr/lib/polkit-kde-authentication-agent-1")
 | 
			
		||||
(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/tech.jpg")
 | 
			
		||||
(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/darkb-minimal-cross.png")
 | 
			
		||||
(awful.spawn.once "bluetoothctl power on")
 | 
			
		||||
;; (awful.spawn.once "nextcloud --background")
 | 
			
		||||
(awful.spawn.once "rbw-agent")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -156,10 +156,6 @@
 | 
			
		|||
                     (awful.key [] "XF86MonBrightnessDown" (fn [] (awful.spawn.with_shell
 | 
			
		||||
                                                                   "light -U 5 && lightget"))
 | 
			
		||||
                                {:description "Decrease monitor brightness by 5%" :group "utilities"})
 | 
			
		||||
                     (awful.key [ modkey ctrl ] "o" (fn [] (awful.spawn
 | 
			
		||||
                                                                   "lightget"))
 | 
			
		||||
                                {:description "get brightness" :group "utilities"})
 | 
			
		||||
 | 
			
		||||
                     ;; Menubar
 | 
			
		||||
                     ;; (awful.key [ modkey ] "p" (fn [] (menubar.show))
 | 
			
		||||
                     ;;            {:description "show the menubar" :group "launcher"})
 | 
			
		||||
| 
						 | 
				
			
			@ -210,11 +206,9 @@
 | 
			
		|||
                     ;; audio
 | 
			
		||||
                     (awful.key [modkey] "a" (fn [] (awful.spawn "alacritty --class pulsemixer -e pulsemixer"))
 | 
			
		||||
                                {:description "launch pulsemixer" :group "audio"})
 | 
			
		||||
                     (awful.key [] "XF86AudioRaiseVolume" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
 | 
			
		||||
                                                              (awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
 | 
			
		||||
                     (awful.key [] "XF86AudioRaiseVolume" (fn [] (awful.spawn "volup"))
 | 
			
		||||
                                {:description "Increase volume by 5%" :group "audio"})
 | 
			
		||||
                     (awful.key [] "XF86AudioLowerVolume" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%")
 | 
			
		||||
                                                              (awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
 | 
			
		||||
                     (awful.key [] "XF86AudioLowerVolume" (fn [] (awful.spawn "voldown"))
 | 
			
		||||
                                {:description "Decrease volume by 5%" :group "audio"})
 | 
			
		||||
                     (awful.key [] "XF86AudioMute" (fn [] (awful.spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle")
 | 
			
		||||
                                                       (awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
 | 
			
		||||
| 
						 | 
				
			
			@ -250,6 +244,17 @@
 | 
			
		|||
                     (awful.key [modkey shift] "9" (fn [] (awful.spawn "mpvc -t -20"))
 | 
			
		||||
                                {:description "MPV seek backward 20 sec" :group "audio"})
 | 
			
		||||
 | 
			
		||||
                     ;; Extras
 | 
			
		||||
                     (awful.key [ modkey alt ] "b" (fn [] (togglebar))
 | 
			
		||||
                                {:description "show/hide bar" :group "utilities"})
 | 
			
		||||
                     (awful.key [ modkey ctrl ] "o" (fn [] (awful.spawn "lightget"))
 | 
			
		||||
                                {:description "get brightness" :group "utilities"})
 | 
			
		||||
                     (awful.key [ modkey ctrl ] "b" (fn [] (awful.spawn "batget"))
 | 
			
		||||
                                {:description "get battery" :group "utilities"})
 | 
			
		||||
                     (awful.key [ modkey ctrl ] "t" (fn [] (awful.spawn "timeget"))
 | 
			
		||||
                                {:description "get time" :group "utilities"})
 | 
			
		||||
 | 
			
		||||
                     
 | 
			
		||||
                     ;; Because I don't know much fennel yet I'm doing each one individually
 | 
			
		||||
                     ;; View tags only.
 | 
			
		||||
                     (awful.key [ modkey ] "1"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -211,7 +211,8 @@
 | 
			
		|||
                            :raise true
 | 
			
		||||
                            :screen awful.screen.preferred
 | 
			
		||||
                            :height (dpi 850)
 | 
			
		||||
                            :width (dpi 1550)
 | 
			
		||||
                            :width (dpi 1450)
 | 
			
		||||
                            :placement awful.placement.centered
 | 
			
		||||
                            }
 | 
			
		||||
               }
 | 
			
		||||
              {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -222,6 +222,7 @@ if status is-login
 | 
			
		|||
    end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
macchina
 | 
			
		||||
### Start plasma wayland
 | 
			
		||||
# if status is-login
 | 
			
		||||
#     if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										10
									
								
								macchina/README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								macchina/README.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
# `contrib` directory
 | 
			
		||||
 | 
			
		||||
This directory contains cool things our community has contributed, or some
 | 
			
		||||
niceties we've added that they might find useful.
 | 
			
		||||
 | 
			
		||||
|          Directory | Description                                                                            |
 | 
			
		||||
| -----------------: | :------------------------------------------------------------------------------------- |
 | 
			
		||||
| [scripts](scripts) | A collection of scripts that supercharge _macchina_.                                   |
 | 
			
		||||
|     [ascii](ascii) | A collection of ASCII art files that you can display alongside your system statistics. |
 | 
			
		||||
|   [themes](themes) | A collection of themes that you should definitely steal!                               |
 | 
			
		||||
							
								
								
									
										15
									
								
								macchina/ascii/archlinux.ascii
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								macchina/ascii/archlinux.ascii
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;197;228;243m.[38;2;188;224;242m.[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;240;248;252m [38;2;63;166;217mc[38;2;49;159;214ml[38;2;225;241;249m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;247;251;253m [38;2;82;174;221m:[38;2;23;147;209mo[38;2;23;147;209mo[38;2;65;166;217mc[38;2;238;247;252m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;253;254;255m [38;2;103;184;225m;[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;72;170;219m:[38;2;239;247;252m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;252;254;254m [38;2;193;226;243m.[38;2;37;154;212ml[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;78;172;220m:[38;2;242;249;252m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;249;252;254m [38;2;105;185;225m;[38;2;55;162;215mc[38;2;103;184;225m;[38;2;77;172;220m:[38;2;45;157;213ml[38;2;24;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;69;168;218mc[38;2;231;244;250m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;242;249;252m [38;2;87;177;222m:[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;24;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;59;164;216mc[38;2;225;241;249m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;236;246;251m [38;2;75;171;219m:[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;47;158;214ml[38;2;210;234;246m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;221;239;248m [38;2;58;163;216mc[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;44;157;213ml[38;2;95;181;223m;[38;2;98;182;224m;[38;2;50;160;214ml[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;40;155;212ml[38;2;197;228;244m.[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;200;229;244m.[38;2;46;158;214ml[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;128;196;230m'[38;2;247;251;253m [38;2;255;255;255m [38;2;255;255;255m [38;2;250;252;254m [38;2;151;207;234m.[38;2;26;148;210mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;30;150;210mo[38;2;169;215;238m.[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;171;216;238m.[38;2;29;150;210mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;62;165;217mc[38;2;254;254;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;102;184;225m;[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;29;150;210mo[38;2;55;162;215mc[38;2;46;158;214ml[38;2;140;201;232m'[38;2;254;254;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;255;255;255m [38;2;253;254;255m [38;2;141;202;232m'[38;2;25;148;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;85;176;221m:[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;130;197;230m'[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;25;148;209mo[38;2;72;170;219m:[38;2;112;189;227m,[38;2;210;234;246m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m
 | 
			
		||||
[38;2;255;255;255m [38;2;249;252;254m [38;2;110;187;226m,[38;2;23;147;209mo[38;2;23;147;209mo[38;2;23;147;209mo[38;2;43;156;213ml[38;2;86;176;221m:[38;2;125;195;229m,[38;2;160;211;236m.[38;2;190;225;242m.[38;2;218;238;248m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;227;242;249m [38;2;192;226;243m.[38;2;162;212;237m.[38;2;128;196;230m,[38;2;89;178;222m:[38;2;46;158;214ml[38;2;23;147;209mo[38;2;23;147;209mo[38;2;28;149;210mo[38;2;102;184;225m;[38;2;240;248;252m [38;2;255;255;255m
 | 
			
		||||
[38;2;235;246;251m [38;2;81;174;221m:[38;2;59;164;216mc[38;2;114;189;227m,[38;2;166;214;237m.[38;2;215;237;247m [38;2;252;254;254m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;254;254;255m [38;2;219;238;248m [38;2;170;215;238m.[38;2;117;191;228m,[38;2;63;166;217mc[38;2;72;170;219m:[38;2;231;244;250m
 | 
			
		||||
[38;2;153;207;235m.[38;2;193;226;243m.[38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;255;255;255m [38;2;200;230;244m.[38;2;141;202;232m'
 | 
			
		||||
							
								
								
									
										16
									
								
								macchina/ascii/fedoralinux.ascii
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								macchina/ascii/fedoralinux.ascii
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
        .:-======-:.
 | 
			
		||||
      :=++++++++++++=-.
 | 
			
		||||
    -++++++++++++++++++-
 | 
			
		||||
  .+++++++++++=:::-=+++++.
 | 
			
		||||
 .+++++++++++.  ..  :+++++.
 | 
			
		||||
 =++++++++++-  +++=  =+++++
 | 
			
		||||
:+++++++++++: .++++:.=+++++:
 | 
			
		||||
-++++++++==+- .===+++++++++=
 | 
			
		||||
=+++++-    --    .+++++++++=
 | 
			
		||||
=++++.  -==+- .==++++++++++-
 | 
			
		||||
=+++-  +++++- .++++++++++++
 | 
			
		||||
=+++=  -++++. :+++++++++++.
 | 
			
		||||
=++++-   ..  .+++++++++++:
 | 
			
		||||
=++++++-:..:=++++++++++=
 | 
			
		||||
-++++++++++++++++++++-.
 | 
			
		||||
 :=+++++++++++++=-:.
 | 
			
		||||
							
								
								
									
										17
									
								
								macchina/ascii/rust.ascii
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								macchina/ascii/rust.ascii
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;1;1;1m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;114;35;0m.[0m[38;2;60;19;0m.[0m[38;2;0;0;0m [0m[38;2;77;24;0m.[0m[38;2;161;49;0m,[0m[38;2;15;5;0m [0m[38;2;3;1;0m [0m[38;2;106;32;0m.[0m[38;2;44;14;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;1;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;5;2;0m [0m[38;2;26;8;0m [0m[38;2;0;0;0m [0m[38;2;48;15;0m [0m[38;2;235;72;0mc[0m[38;2;159;49;0m,[0m[38;2;152;47;0m'[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;205;63;0m;[0m[38;2;246;76;0mc[0m[38;2;247;76;0mc[0m[38;2;229;71;0m:[0m[38;2;222;68;0m:[0m[38;2;247;76;0mc[0m[38;2;232;71;0mc[0m[38;2;122;38;0m.[0m[38;2;193;59;0m;[0m[38;2;231;71;0mc[0m[38;2;1;0;0m [0m[38;2;2;1;0m [0m[38;2;35;11;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;2;2;2m [0m[38;2;2;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;2;1;0m [0m[38;2;0;0;0m [0m[38;2;42;13;0m [0m[38;2;247;76;0mc[0m[38;2;216;67;0m:[0m[38;2;227;70;0m:[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;208;64;0m:[0m[38;2;234;72;0mc[0m[38;2;247;76;0mc[0m[38;2;6;6;6m [0m[38;2;0;0;0m [0m[38;2;2;1;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;12;4;0m [0m[38;2;85;26;0m.[0m[38;2;10;10;10m [0m[38;2;0;0;0m [0m[38;2;3;1;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;84;26;0m.[0m[38;2;29;9;0m [0m[38;2;4;4;4m [0m[38;2;182;56;0m,[0m[38;2;162;50;0m,[0m[38;2;48;15;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;13;13;13m [0m[38;2;216;67;0m:[0m[38;2;220;68;0m:[0m[38;2;225;69;0m:[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;211;65;0m:[0m[38;2;231;71;0mc[0m[38;2;89;27;0m.[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;8;2;0m [0m[38;2;159;49;0m,[0m[38;2;241;74;0mc[0m[38;2;203;62;0m:[0m[38;2;0;0;0m [0m[38;2;2;1;0m [0m[38;2;189;58;0m;[0m[38;2;22;7;0m [0m
 | 
			
		||||
[0m[38;2;35;11;0m [0m[38;2;247;76;0mc[0m[38;2;218;67;0m:[0m[38;2;35;11;0m [0m[38;2;88;27;0m.[0m[38;2;247;76;0mc[0m[38;2;245;75;0mc[0m[38;2;37;11;0m [0m[38;2;0;0;0m [0m[38;2;16;5;0m [0m[38;2;155;48;0m'[0m[38;2;151;47;0m'[0m[38;2;237;73;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;200;61;0m;[0m[38;2;153;47;0m'[0m[38;2;128;40;0m.[0m[38;2;4;4;4m [0m[38;2;70;22;0m.[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;225;69;0m:[0m[38;2;91;28;0m.[0m[38;2;204;63;0m;[0m[38;2;205;63;0m;[0m[38;2;27;27;27m [0m
 | 
			
		||||
[0m[38;2;14;14;14m [0m[38;2;90;90;90m [0m[38;2;237;73;0mc[0m[38;2;243;75;0mc[0m[38;2;216;67;0m:[0m[38;2;247;76;0mc[0m[38;2;242;74;0mc[0m[38;2;40;40;40m [0m[38;2;18;6;0m [0m[38;2;48;15;0m [0m[38;2;227;70;0m:[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;159;49;0m,[0m[38;2;31;10;0m [0m[38;2;30;9;0m [0m[38;2;91;28;0m.[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;21;6;0m [0m[38;2;33;33;33m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;22;22;22m [0m[38;2;57;57;57m [0m[38;2;63;19;0m.[0m[38;2;247;76;0mc[0m[38;2;157;48;0m,[0m[38;2;2;1;0m [0m[38;2;45;14;0m [0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;244;79;6mc[0m[38;2;247;166;130mO[0m[38;2;158;98;71mc[0m[38;2;108;33;0m.[0m[38;2;210;64;0m:[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;246;76;0mc[0m[38;2;226;123;77md[0m[38;2;214;153;125mx[0m[38;2;103;32;1m.[0m[38;2;203;63;0m;[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;206;63;0m;[0m[38;2;80;25;0m.[0m[38;2;155;48;0m'[0m[38;2;170;52;0m,[0m[38;2;69;69;69m [0m[38;2;29;29;29m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;4;4;4m [0m[38;2;49;49;49m [0m[38;2;91;91;91m [0m[38;2;148;46;0m'[0m[38;2;185;57;0m;[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;139;48;7m'[0m[38;2;137;137;137mo[0m[38;2;75;75;75m'[0m[38;2;0;0;0m [0m[38;2;65;20;0m.[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;181;56;0m,[0m[38;2;75;75;75m'[0m[38;2;122;122;122ml[0m[38;2;1;1;1m [0m[38;2;50;15;0m [0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;233;72;0mc[0m[38;2;238;73;0mc[0m[38;2;128;39;0m'[0m[38;2;19;19;19m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;5;1;0m [0m[38;2;142;44;0m'[0m[38;2;240;74;0mc[0m[38;2;208;64;0m;[0m[38;2;102;30;0m.[0m[38;2;221;66;0m:[0m[38;2;236;72;0mc[0m[38;2;246;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;228;70;0m:[0m[38;2;125;38;0m.[0m[38;2;79;24;0m.[0m[38;2;99;30;0m.[0m[38;2;198;61;0m;[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;243;75;0mc[0m[38;2;140;43;0m'[0m[38;2;90;28;0m.[0m[38;2;114;35;0m.[0m[38;2;196;60;0m;[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;239;73;0mc[0m[38;2;212;63;0m:[0m[38;2;112;33;0m.[0m[38;2;197;59;0m;[0m[38;2;145;44;0m'[0m[38;2;243;75;0mc[0m[38;2;180;55;0m,[0m[38;2;2;1;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;6;6;6m [0m[38;2;68;68;68m [0m[38;2;151;46;0m'[0m[38;2;241;74;0mc[0m[38;2;56;17;0m [0m[38;2;47;47;47m [0m[38;2;114;30;0m.[0m[38;2;14;4;0m [0m[38;2;51;51;51m [0m[38;2;69;69;69m [0m[38;2;85;85;85m [0m[38;2;48;14;0m [0m[38;2;222;66;0m:[0m[38;2;229;69;0m:[0m[38;2;236;71;0mc[0m[38;2;241;74;0mc[0m[38;2;246;76;0mc[0m[38;2;247;76;0mc[0m[38;2;247;76;0mc[0m[38;2;236;73;0mc[0m[38;2;133;41;0m'[0m[38;2;92;28;0m.[0m[38;2;138;43;0m'[0m[38;2;244;75;0mc[0m[38;2;247;76;0mc[0m[38;2;243;75;0mc[0m[38;2;237;72;0mc[0m[38;2;230;69;0m:[0m[38;2;222;66;0m:[0m[38;2;112;33;0m.[0m[38;2;85;85;85m [0m[38;2;68;68;68m [0m[38;2;48;48;48m [0m[38;2;28;28;28m [0m[38;2;15;4;0m [0m[38;2;66;17;0m.[0m[38;2;8;2;0m [0m[38;2;204;63;0m;[0m[38;2;173;53;0m,[0m[38;2;54;54;54m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;13;13;13m [0m[38;2;66;66;66m [0m[38;2;123;38;0m.[0m[38;2;101;31;0m.[0m[38;2;1;0;0m [0m[38;2;14;4;0m [0m[38;2;2;1;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;7;7;7m [0m[38;2;13;13;13m [0m[38;2;18;18;18m [0m[38;2;22;22;22m [0m[38;2;27;27;27m [0m[38;2;31;31;31m [0m[38;2;35;35;35m [0m[38;2;37;37;37m [0m[38;2;38;38;38m [0m[38;2;38;38;38m [0m[38;2;37;37;37m [0m[38;2;34;34;34m [0m[38;2;30;30;30m [0m[38;2;25;25;25m [0m[38;2;21;21;21m [0m[38;2;16;16;16m [0m[38;2;9;9;9m [0m[38;2;2;2;2m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;4;1;0m [0m[38;2;6;1;0m [0m[38;2;8;8;8m [0m[38;2;142;44;0m'[0m[38;2;52;16;0m [0m[38;2;23;23;23m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;10;10;10m [0m[38;2;59;59;59m [0m[38;2;65;20;0m.[0m[38;2;5;2;0m [0m[38;2;9;9;9m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;9;9;9m [0m[38;2;0;0;0m [0m[38;2;74;23;0m.[0m[38;2;62;62;62m [0m[38;2;3;3;3m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;7;7;7m [0m[38;2;26;26;26m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;29;29;29m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
[0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m[38;2;0;0;0m [0m
 | 
			
		||||
							
								
								
									
										48
									
								
								macchina/macchina.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								macchina/macchina.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,48 @@
 | 
			
		|||
# Specifies the network interface to use for the LocalIP readout
 | 
			
		||||
interface = "wlp170s0"
 | 
			
		||||
 | 
			
		||||
# Lengthen uptime output
 | 
			
		||||
long_uptime = true
 | 
			
		||||
 | 
			
		||||
# Lengthen shell output
 | 
			
		||||
long_shell = false
 | 
			
		||||
 | 
			
		||||
# Lengthen kernel output
 | 
			
		||||
long_kernel = false
 | 
			
		||||
 | 
			
		||||
# Toggle between displaying the current shell or your user's default one.
 | 
			
		||||
current_shell = true
 | 
			
		||||
 | 
			
		||||
# Toggle between displaying the number of physical or logical cores of your
 | 
			
		||||
# processor.
 | 
			
		||||
physical_cores = true 
 | 
			
		||||
 | 
			
		||||
# Themes need to be placed in "$XDG_CONFIG_DIR/macchina/themes" beforehand.
 | 
			
		||||
# e.g.:
 | 
			
		||||
#  if theme path is /home/foo/.config/macchina/themes/Sodium.toml
 | 
			
		||||
#  theme should be uncommented and set to "Sodium"
 | 
			
		||||
#
 | 
			
		||||
theme = "Lithium"
 | 
			
		||||
 | 
			
		||||
# Displays only the specified readouts.
 | 
			
		||||
# Accepted values (case-sensitive):
 | 
			
		||||
#   - Host
 | 
			
		||||
#   - Machine
 | 
			
		||||
#   - Kernel
 | 
			
		||||
#   - Distribution
 | 
			
		||||
#   - OperatingSystem
 | 
			
		||||
#   - DesktopEnvironment
 | 
			
		||||
#   - WindowManager
 | 
			
		||||
#   - Resolution
 | 
			
		||||
#   - Backlight
 | 
			
		||||
#   - Packages
 | 
			
		||||
#   - LocalIP
 | 
			
		||||
#   - Terminal
 | 
			
		||||
#   - Shell
 | 
			
		||||
#   - Uptime
 | 
			
		||||
#   - Processor
 | 
			
		||||
#   - ProcessorLoad
 | 
			
		||||
#   - Memory
 | 
			
		||||
#   - Battery
 | 
			
		||||
# Example:
 | 
			
		||||
  show = ["Host", "Machine", "Kernel", "Distribution", "DesktopEnvironment", "Packages", "ProcessorLoad", "Memory", "Battery"]
 | 
			
		||||
							
								
								
									
										92
									
								
								macchina/scripts/macchina-video.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										92
									
								
								macchina/scripts/macchina-video.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,92 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
# Will only work on macchina v0.7.3 or higher
 | 
			
		||||
# This script will download and run a video from youtube / any site supported by youtube-dl
 | 
			
		||||
# and display the video in macchina.
 | 
			
		||||
# The flow is
 | 
			
		||||
# youtube-dl -> ffmpeg -> jp2a -> macchina
 | 
			
		||||
# First argument is video url.
 | 
			
		||||
# Second argument is frame wait time.
 | 
			
		||||
 | 
			
		||||
PID=$$
 | 
			
		||||
DIR="/tmp/ffmpeg_$PID"
 | 
			
		||||
 | 
			
		||||
if [ -n "$1" ]; then
 | 
			
		||||
  URL="$1"
 | 
			
		||||
else
 | 
			
		||||
  URL=$(echo "aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1kUXc0dzlXZ1hjUQo=" | base64 -d)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -n "$2" ]; then
 | 
			
		||||
  FRAME_WAIT_TIME=$2
 | 
			
		||||
else
 | 
			
		||||
  FRAME_WAIT_TIME=5
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
required="youtube-dl ffmpeg base64 awk jp2a macchina"
 | 
			
		||||
 | 
			
		||||
for r in "$required"; do
 | 
			
		||||
  if ! [ -n "$(which "$r" 2>/dev/null)" ]; then # need the quotes
 | 
			
		||||
    printf '\x1b[31m%s not found\x1b[0m\n' "$r"
 | 
			
		||||
    exit 1
 | 
			
		||||
  fi
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
# polling rate is .05 i.e. once every 50ms
 | 
			
		||||
WAIT=$(echo - | awk -v seconds="$FRAME_WAIT_TIME" '{print seconds/.05}')
 | 
			
		||||
 | 
			
		||||
trap_ctrlc() {
 | 
			
		||||
 | 
			
		||||
  printf '\x1b[?25h' # shows cursor
 | 
			
		||||
  if [ -n "$FFMPEG_PID" -a -d "/proc/$FFMPEG_PID" ]; then
 | 
			
		||||
    kill -0 "$FFMPEG_PID"
 | 
			
		||||
    wait "$FFMPEG_PID"
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  if [ -n "$DIR" -a -d "$DIR" ]; then
 | 
			
		||||
    rm -rf "$DIR" 2>/dev/null
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  exit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
mkdir "$DIR"
 | 
			
		||||
 | 
			
		||||
# youtube-dl -f best $URL -o - | ffmpeg -i pipe: -r 10 -update 1 "$DIR/out_%d.png" > /dev/null 2>&1 &
 | 
			
		||||
youtube-dl -f best "$URL" -o - 2>/dev/null | ffmpeg -i pipe: -r 10 "$DIR/out_%d.png" >/dev/null 2>&1 &
 | 
			
		||||
FFMPEG_PID=$!
 | 
			
		||||
 | 
			
		||||
trap trap_ctrlc INT
 | 
			
		||||
 | 
			
		||||
printf '\x1b[?25l' # hides the cursor
 | 
			
		||||
for img in "$(# increasing this too much will break it
 | 
			
		||||
  seq 1 999999
 | 
			
		||||
)"; do
 | 
			
		||||
  count=0
 | 
			
		||||
  while ! [ -f "$DIR/out_$img.png" ]; do
 | 
			
		||||
    sleep .05
 | 
			
		||||
    count=$((count + 1))
 | 
			
		||||
    if [ "$count" -ge "$WAIT" ]; then break; fi
 | 
			
		||||
  done
 | 
			
		||||
  printf '\x1b[s' # saves cursor position
 | 
			
		||||
  target/debug/macchina --custom-ascii <(jp2a --color --width=50 "$DIR/out_$img".png)
 | 
			
		||||
  # jp2a --color --width=50 $DIR/out_$img.png # just display the video wihout macchina
 | 
			
		||||
  printf '\x1b[u'
 | 
			
		||||
  if [ -f "$DIR/out_$img.png" ]; then
 | 
			
		||||
    rm -f "$DIR/out_$img".png
 | 
			
		||||
  fi
 | 
			
		||||
  sleep .02
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
printf '\x1b[?25h' # shows cursor
 | 
			
		||||
 | 
			
		||||
if [ -n "$FFMPEG_PID" -a -d "/proc/$FFMPEG_PID" ]; then
 | 
			
		||||
  kill -0 "$FFMPEG_PID"
 | 
			
		||||
  wait "$FFMPEG_PID"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -n "$DIR" -a -d "$DIR" ]; then
 | 
			
		||||
  rm -rf "$DIR" 2>/dev/null
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
wait "$FFMPEG_PID"
 | 
			
		||||
							
								
								
									
										26
									
								
								macchina/themes/Beryllium.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								macchina/themes/Beryllium.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
# Beryllium
 | 
			
		||||
 | 
			
		||||
spacing         = 3
 | 
			
		||||
hide_ascii      = true
 | 
			
		||||
key_color       = "#7067CF"
 | 
			
		||||
separator       = ""
 | 
			
		||||
 | 
			
		||||
[box]
 | 
			
		||||
border          = "plain"
 | 
			
		||||
visible         = true
 | 
			
		||||
 | 
			
		||||
[palette]
 | 
			
		||||
glyph           = "○  "
 | 
			
		||||
visible         = true
 | 
			
		||||
 | 
			
		||||
[bar]
 | 
			
		||||
glyph           = "○"
 | 
			
		||||
hide_delimiters = true
 | 
			
		||||
visible         = true
 | 
			
		||||
 | 
			
		||||
[box.inner_margin]
 | 
			
		||||
x               = 2
 | 
			
		||||
y               = 1
 | 
			
		||||
 | 
			
		||||
[custom_ascii]
 | 
			
		||||
color           = "#FF7001"
 | 
			
		||||
							
								
								
									
										51
									
								
								macchina/themes/Helium.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								macchina/themes/Helium.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,51 @@
 | 
			
		|||
# Helium
 | 
			
		||||
 | 
			
		||||
hide_ascii      = false
 | 
			
		||||
spacing         = 2
 | 
			
		||||
padding         = 0
 | 
			
		||||
separator       = "->"
 | 
			
		||||
key_color       = "Blue"
 | 
			
		||||
separator_color = "Yellow"
 | 
			
		||||
 | 
			
		||||
[bar]
 | 
			
		||||
glyph           = "o"
 | 
			
		||||
symbol_open     = "("
 | 
			
		||||
symbol_close    = ")"
 | 
			
		||||
hide_delimiters = false
 | 
			
		||||
visible         = false
 | 
			
		||||
 | 
			
		||||
[box]
 | 
			
		||||
title           = " Helium "
 | 
			
		||||
border          = "rounded"
 | 
			
		||||
visible         = false
 | 
			
		||||
 | 
			
		||||
[box.inner_margin]
 | 
			
		||||
x               = 2
 | 
			
		||||
y               = 1
 | 
			
		||||
 | 
			
		||||
[custom_ascii]
 | 
			
		||||
color           = "Yellow"
 | 
			
		||||
 | 
			
		||||
[randomize]
 | 
			
		||||
key_color       = false
 | 
			
		||||
separator_color = false
 | 
			
		||||
 | 
			
		||||
[keys]
 | 
			
		||||
host            = "Host"
 | 
			
		||||
kernel          = "Kernel"
 | 
			
		||||
battery         = "Battery"
 | 
			
		||||
os              = "OS"
 | 
			
		||||
de              = "DE"
 | 
			
		||||
wm              = "WM"
 | 
			
		||||
distro          = "Distro"
 | 
			
		||||
terminal        = "Terminal"
 | 
			
		||||
shell           = "Shell"
 | 
			
		||||
packages        = "Packages"
 | 
			
		||||
uptime          = "Uptime"
 | 
			
		||||
memory          = "Memory"
 | 
			
		||||
machine         = "Machine"
 | 
			
		||||
local_ip        = "IP"
 | 
			
		||||
backlight       = "Brightness"
 | 
			
		||||
resolution      = "Resolution"
 | 
			
		||||
cpu_load        = "CPU Load"
 | 
			
		||||
cpu             = "CPU"
 | 
			
		||||
							
								
								
									
										51
									
								
								macchina/themes/Hydrogen.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								macchina/themes/Hydrogen.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,51 @@
 | 
			
		|||
# Hydrogen
 | 
			
		||||
 | 
			
		||||
spacing         = 2
 | 
			
		||||
padding         = 0
 | 
			
		||||
hide_ascii      = true
 | 
			
		||||
separator       = ">"
 | 
			
		||||
key_color       = "Cyan"
 | 
			
		||||
separator_color = "White"
 | 
			
		||||
 | 
			
		||||
[palette]
 | 
			
		||||
type = "Full"
 | 
			
		||||
visible = false
 | 
			
		||||
 | 
			
		||||
[bar]
 | 
			
		||||
glyph           = "ߋ"
 | 
			
		||||
symbol_open     = '['
 | 
			
		||||
symbol_close    = ']'
 | 
			
		||||
hide_delimiters = true
 | 
			
		||||
visible         = true
 | 
			
		||||
 | 
			
		||||
[box]
 | 
			
		||||
border          = "plain"
 | 
			
		||||
visible         = true
 | 
			
		||||
 | 
			
		||||
[box.inner_margin]
 | 
			
		||||
x               = 1
 | 
			
		||||
y               = 0
 | 
			
		||||
 | 
			
		||||
[randomize]
 | 
			
		||||
key_color       = false
 | 
			
		||||
separator_color = false
 | 
			
		||||
 | 
			
		||||
[keys]
 | 
			
		||||
host            = "Host"
 | 
			
		||||
kernel          = "Kernel"
 | 
			
		||||
battery         = "Battery"
 | 
			
		||||
os              = "OS"
 | 
			
		||||
de              = "DE"
 | 
			
		||||
wm              = "WM"
 | 
			
		||||
distro          = "Distro"
 | 
			
		||||
terminal        = "Terminal"
 | 
			
		||||
shell           = "Shell"
 | 
			
		||||
packages        = "Packages"
 | 
			
		||||
uptime          = "Uptime"
 | 
			
		||||
memory          = "Memory"
 | 
			
		||||
machine         = "Machine"
 | 
			
		||||
local_ip        = "Local IP"
 | 
			
		||||
backlight       = "Brightness"
 | 
			
		||||
resolution      = "Resolution"
 | 
			
		||||
cpu_load        = "CPU Load"
 | 
			
		||||
cpu             = "CPU"
 | 
			
		||||
							
								
								
									
										57
									
								
								macchina/themes/Lithium.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								macchina/themes/Lithium.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,57 @@
 | 
			
		|||
# Lithium
 | 
			
		||||
 | 
			
		||||
spacing         = 1
 | 
			
		||||
padding         = 0
 | 
			
		||||
hide_ascii      = true
 | 
			
		||||
separator       = " "
 | 
			
		||||
key_color       = "Yellow"
 | 
			
		||||
separator_color = "Yellow"
 | 
			
		||||
 | 
			
		||||
[palette]
 | 
			
		||||
type            = "Light"
 | 
			
		||||
glyph           = " ● "
 | 
			
		||||
visible         = true
 | 
			
		||||
 | 
			
		||||
[bar]
 | 
			
		||||
glyph           = "●"
 | 
			
		||||
symbol_open     = '('
 | 
			
		||||
symbol_close    = ')'
 | 
			
		||||
visible         = false
 | 
			
		||||
hide_delimiters = true
 | 
			
		||||
 | 
			
		||||
[box]
 | 
			
		||||
title           = " Syl "
 | 
			
		||||
border          = "plain"
 | 
			
		||||
visible         = true
 | 
			
		||||
 | 
			
		||||
[box.inner_margin]
 | 
			
		||||
x               = 2
 | 
			
		||||
y               = 1
 | 
			
		||||
 | 
			
		||||
[custom_ascii]
 | 
			
		||||
color           = "Yellow"
 | 
			
		||||
 | 
			
		||||
[randomize]
 | 
			
		||||
key_color       = true
 | 
			
		||||
separator_color = false
 | 
			
		||||
pool            = "base"
 | 
			
		||||
 | 
			
		||||
[keys]
 | 
			
		||||
host            = "Host"
 | 
			
		||||
kernel          = "Kernel"
 | 
			
		||||
battery         = "Battery"
 | 
			
		||||
os              = "OS"
 | 
			
		||||
de              = "DE"
 | 
			
		||||
wm              = "WM"
 | 
			
		||||
distro          = "Distro"
 | 
			
		||||
terminal        = "Terminal"
 | 
			
		||||
shell           = "Shell"
 | 
			
		||||
packages        = "Packages"
 | 
			
		||||
uptime          = "Uptime"
 | 
			
		||||
memory          = "Memory"
 | 
			
		||||
machine         = "Machine"
 | 
			
		||||
local_ip        = "IP"
 | 
			
		||||
backlight       = "Brightness"
 | 
			
		||||
resolution      = "Resolution"
 | 
			
		||||
cpu_load        = "CPU Load"
 | 
			
		||||
cpu             = "CPU"
 | 
			
		||||
							
								
								
									
										28
									
								
								picom.conf
									
										
									
									
									
								
							
							
						
						
									
										28
									
								
								picom.conf
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,11 +1,20 @@
 | 
			
		|||
# Animations
 | 
			
		||||
transition-length = 200
 | 
			
		||||
transition-pow-x = 1
 | 
			
		||||
transition-pow-y = 1
 | 
			
		||||
transition-pow-w = 1
 | 
			
		||||
transition-pow-h = 1
 | 
			
		||||
size-transition = true
 | 
			
		||||
spawn-center = true
 | 
			
		||||
 | 
			
		||||
# Corners
 | 
			
		||||
corner-radius = 0.0;
 | 
			
		||||
corner-radius = 20.0;
 | 
			
		||||
rounded-corners-exclude = [
 | 
			
		||||
  #"window_type = 'normal'",
 | 
			
		||||
  "class_g = 'awesome'",
 | 
			
		||||
  "class_g = 'XTerm'",
 | 
			
		||||
  "class_g = 'kitty'",
 | 
			
		||||
  # "class_g = 'emacs'",
 | 
			
		||||
  "class_g = 'emacs'",
 | 
			
		||||
  "class_g = 'Thunderbird'",
 | 
			
		||||
  # "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
 | 
			
		||||
];
 | 
			
		||||
| 
						 | 
				
			
			@ -87,7 +96,6 @@ shadow-exclude = [
 | 
			
		|||
# be painted in, such as a dock window region. Use
 | 
			
		||||
#    shadow-exclude-reg = "x10+0+0"
 | 
			
		||||
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
 | 
			
		||||
shadow-exclude-reg = "x40+20+1436"
 | 
			
		||||
# shadow-exclude-reg = "x0+0+0"
 | 
			
		||||
 | 
			
		||||
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
 | 
			
		||||
| 
						 | 
				
			
			@ -96,7 +104,7 @@ shadow-exclude-reg = "x40+20+1436"
 | 
			
		|||
# Fading
 | 
			
		||||
# Fade windows in/out when opening/closing and when opacity changes,
 | 
			
		||||
#  unless no-fading-openclose is used.
 | 
			
		||||
fading = true;
 | 
			
		||||
fading = false;
 | 
			
		||||
 | 
			
		||||
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
 | 
			
		||||
# fade-in-step = 0.028
 | 
			
		||||
| 
						 | 
				
			
			@ -132,7 +140,7 @@ fade-exclude = [
 | 
			
		|||
 | 
			
		||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
 | 
			
		||||
# inactive-opacity = 1
 | 
			
		||||
inactive-opacity = 0.55;
 | 
			
		||||
inactive-opacity = 0.90;
 | 
			
		||||
 | 
			
		||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
 | 
			
		||||
# frame-opacity = 1.0
 | 
			
		||||
| 
						 | 
				
			
			@ -146,7 +154,7 @@ frame-opacity = 0.75;
 | 
			
		|||
inactive-opacity-override = false;
 | 
			
		||||
 | 
			
		||||
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
 | 
			
		||||
active-opacity = 0.75;
 | 
			
		||||
active-opacity = 0.90;
 | 
			
		||||
 | 
			
		||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
 | 
			
		||||
inactive-dim = 0.4
 | 
			
		||||
| 
						 | 
				
			
			@ -177,7 +185,7 @@ focus-exclude = [
 | 
			
		|||
opacity-rule = [
 | 
			
		||||
  "80:class_g     = 'Bar'",             # lemonbar
 | 
			
		||||
  "80:class_g     = 'Polybar'",
 | 
			
		||||
  "90:class_g     = 'awesome'",
 | 
			
		||||
  "100:class_g     = 'awesome'",
 | 
			
		||||
  "100:class_g    = 'slop'",            # maim
 | 
			
		||||
  "100:class_g    = 'XTerm'",
 | 
			
		||||
  "100:class_g    = 'Alacritty'",
 | 
			
		||||
| 
						 | 
				
			
			@ -245,8 +253,8 @@ blur: {
 | 
			
		|||
  # requires: https://github.com/ibhagwan/picom
 | 
			
		||||
  method = "dual_kawase";
 | 
			
		||||
  #method = "kernel";
 | 
			
		||||
  strength = 14;
 | 
			
		||||
  deviation = 4.0;
 | 
			
		||||
  strength = 12;
 | 
			
		||||
  deviation = 9.0;
 | 
			
		||||
  # kernel = "11x11gaussian";
 | 
			
		||||
  background = false;
 | 
			
		||||
  background-frame = false;
 | 
			
		||||
| 
						 | 
				
			
			@ -384,7 +392,7 @@ glx-no-stencil = true
 | 
			
		|||
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
 | 
			
		||||
# Recommended if it works.
 | 
			
		||||
#
 | 
			
		||||
# glx-no-rebind-pixmap = false
 | 
			
		||||
glx-no-rebind-pixmap = true
 | 
			
		||||
 | 
			
		||||
# Disable the use of damage information.
 | 
			
		||||
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,7 +44,11 @@ settings:
 | 
			
		|||
    https://outlook.live.com?mailtouri=%25s: false
 | 
			
		||||
    https://outlook.office.com?mailtouri=%25s: false
 | 
			
		||||
    https://staff.tfcconnection.org: true
 | 
			
		||||
  scrolling.bar:
 | 
			
		||||
    global: overlay
 | 
			
		||||
  statusbar.show:
 | 
			
		||||
    global: in-mode
 | 
			
		||||
  tabs.show:
 | 
			
		||||
    global: always
 | 
			
		||||
    global: switching
 | 
			
		||||
  zoom.default:
 | 
			
		||||
    global: 100%
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2129,7 +2129,10 @@ c.tabs.title.alignment = "center"
 | 
			
		|||
## qutebrowser`.
 | 
			
		||||
## Type: Dict
 | 
			
		||||
c.url.searchengines = {
 | 
			
		||||
    "DEFAULT": "https://search.tfcconnection.org/?q={}",
 | 
			
		||||
    "DEFAULT": "https://search.brave.com/search?q={}",
 | 
			
		||||
    "vid": "https://search.brave.com/videos?q={}",
 | 
			
		||||
    "img": "https://search.brave.com/images?q={}",
 | 
			
		||||
    "tfc": "https://search.tfcconnection.org/?q={}",
 | 
			
		||||
    "yt": "https://yewtu.be/search?q={}",
 | 
			
		||||
    "mel": "https://melpa.org/#/?q={}",
 | 
			
		||||
    "y": "https://www.youtube.com/results?search_query={}",
 | 
			
		||||
| 
						 | 
				
			
			@ -2496,9 +2499,12 @@ config.bind(
 | 
			
		|||
 | 
			
		||||
config.bind("gt", 'hint links spawn --detach transadd "{hint-url}"')
 | 
			
		||||
 | 
			
		||||
config.bind("gD", 'hint links spawn alacritty -e aria2c -o ~/Downloads/')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
config.bind('d', 'tab-close')
 | 
			
		||||
config.bind('b', 'set-cmd-text -s :tab-select ')
 | 
			
		||||
config.bind('pt', 'tab-pin')
 | 
			
		||||
config.bind('tm', 'tab-move')
 | 
			
		||||
config.bind('st', 'config-cycle tabs.show always switching')
 | 
			
		||||
config.bind('ss', 'config-cycle statusbar.show always in-mode')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ configuration {
 | 
			
		|||
    display-drun:                   " ";
 | 
			
		||||
    display-run:                    " ";
 | 
			
		||||
    display-combi:                  " ";
 | 
			
		||||
    drun-display-format:            "{name} [<span weight='light' size='small'><i>({generic})</i></span>] - {exec}";
 | 
			
		||||
    drun-display-format:            "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";/* - {exec}*/
 | 
			
		||||
    threads:                        0;
 | 
			
		||||
    scroll-method:                  0;
 | 
			
		||||
    disable-history:                false;
 | 
			
		||||
| 
						 | 
				
			
			@ -23,6 +23,10 @@ configuration {
 | 
			
		|||
    kb-row-up:                      "Control-k";
 | 
			
		||||
    kb-row-left:                      "Control-h";
 | 
			
		||||
    kb-row-right:                      "Control-l";
 | 
			
		||||
    timeout {
 | 
			
		||||
        delay:                      15;
 | 
			
		||||
        action:                     "kb-cancel";
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
* {
 | 
			
		||||
| 
						 | 
				
			
			@ -56,8 +60,8 @@ configuration {
 | 
			
		|||
window {
 | 
			
		||||
    background-color:               @base00t;
 | 
			
		||||
    text-color:                     @base05;
 | 
			
		||||
    transparency:                   "real";
 | 
			
		||||
    border-radius:                  16px;
 | 
			
		||||
    /* transparency:                   "real"; */
 | 
			
		||||
    border-radius:                  20px;
 | 
			
		||||
    border:                         0px;
 | 
			
		||||
    width:                          60%;
 | 
			
		||||
    location:                       center;
 | 
			
		||||
| 
						 | 
				
			
			@ -70,36 +74,40 @@ window {
 | 
			
		|||
 | 
			
		||||
mainbox {
 | 
			
		||||
    border-radius:                  16;
 | 
			
		||||
    background-color:               @transparent;
 | 
			
		||||
    /* background-color:               @transparent; */
 | 
			
		||||
    background-color:               @base00t;
 | 
			
		||||
    text-color:                     @base05;
 | 
			
		||||
    transparency:                   "real";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
inputbar {
 | 
			
		||||
    background-color:               @transparent;
 | 
			
		||||
    /* background-color:               @transparent; */
 | 
			
		||||
    background-color:               @base00t;
 | 
			
		||||
    text-color:                     @base05;
 | 
			
		||||
    expand:                         false;
 | 
			
		||||
    border-radius:                  36px;
 | 
			
		||||
    margin:                         0px 0px 0px 0px;
 | 
			
		||||
    padding:                        6px 6px 6px 6px;
 | 
			
		||||
    padding:                        30px 6px 30px 6px;
 | 
			
		||||
    position:                       north;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
prompt {
 | 
			
		||||
    enabled:                        true;
 | 
			
		||||
    padding:                        0px 6px 0px 5px;
 | 
			
		||||
    background-color:               @transparent;
 | 
			
		||||
    /* background-color:               @transparent; */
 | 
			
		||||
    background-color:               @base00t;
 | 
			
		||||
    text-color:                     @base05;
 | 
			
		||||
    border:                         0px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
entry {
 | 
			
		||||
    background-color:               @transparent;
 | 
			
		||||
    /* background-color:               @transparent; */
 | 
			
		||||
    background-color:               @base00t;
 | 
			
		||||
    placeholder-color:              @base05;
 | 
			
		||||
    text-color:                     @base05;
 | 
			
		||||
    expand:                         true;
 | 
			
		||||
    horizontal-align:               0;
 | 
			
		||||
    placeholder:                    "Search";
 | 
			
		||||
    placeholder:                    "";
 | 
			
		||||
    blink:                          true;
 | 
			
		||||
    border:                         0px;
 | 
			
		||||
    padding:                        0px 0px 0px 6px;
 | 
			
		||||
| 
						 | 
				
			
			@ -117,6 +125,7 @@ sidebar {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
mainbox {
 | 
			
		||||
    /* background-color:               @base00t; */
 | 
			
		||||
    background-color:               @base00t;
 | 
			
		||||
    text-color:                     @transparent;
 | 
			
		||||
    children:                       [ inputbar, listview, message ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,11 +8,15 @@ else
 | 
			
		|||
    #echo "this is not hidpi"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
rofi -no-lazy-grab -show emoji -modi emoji -theme launchers-git/"$style".rasi $@ &
 | 
			
		||||
c=0
 | 
			
		||||
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
    sleep .1 
 | 
			
		||||
    c=$((c+1))
 | 
			
		||||
    [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
done
 | 
			
		||||
rofi -no-lazy-grab -show emoji -modi emoji -theme launchers-git/"$style".rasi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# $@ &
 | 
			
		||||
# c=0
 | 
			
		||||
# while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
#     sleep .1 
 | 
			
		||||
#     c=$((c+1))
 | 
			
		||||
#     [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
# done
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,10 +12,13 @@ else
 | 
			
		|||
    #echo "this is not hidpi"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
rofi -no-lazy-grab -show combi -combi-modi "drun,run" -theme launchers-git/"$style".rasi $@ &
 | 
			
		||||
c=0
 | 
			
		||||
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
    sleep .1 
 | 
			
		||||
    c=$((c+1))
 | 
			
		||||
    [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
done
 | 
			
		||||
rofi -no-lazy-grab -show combi -combi-modi "drun,run" -theme launchers-git/"$style".rasi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# $@ &
 | 
			
		||||
# c=0
 | 
			
		||||
# while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
#     sleep .1 
 | 
			
		||||
#     c=$((c+1))
 | 
			
		||||
#     [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
# done
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								scripts/batget
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								scripts/batget
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
awesome-client "naughty.destroy_all_notifications()"
 | 
			
		||||
notify-send "$(batinfo)" --icon=battery
 | 
			
		||||
| 
						 | 
				
			
			@ -1,10 +1,13 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
awesome-client "naughty.destroy_all_notifications()"
 | 
			
		||||
capacity=$(cat /sys/class/power_supply/BAT1/capacity)
 | 
			
		||||
status=$(cat /sys/class/power_supply/BAT1/status)
 | 
			
		||||
 | 
			
		||||
if [ $status = 'Charging' ]; then
 | 
			
		||||
    
 | 
			
		||||
    icon=''
 | 
			
		||||
else
 | 
			
		||||
    icon=''
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo $icon $capacity
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								scripts/dlaudio
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								scripts/dlaudio
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
alacritty -e yt-dlp -x -o '/home/chris/Music/%(title)s.%(ext)s ' $1
 | 
			
		||||
							
								
								
									
										3
									
								
								scripts/dlvideo
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								scripts/dlvideo
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
alacritty -e yt-dlp -o '/home/chris/Videos/%(title)s.%(ext)s ' $1
 | 
			
		||||
| 
						 | 
				
			
			@ -15,7 +15,6 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
 | 
			
		|||
            wmctrl -ia $emacsrg
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
 | 
			
		||||
    else
 | 
			
		||||
        if [ $KDE_FULL_SESSION = "true" ]; then
 | 
			
		||||
            ww -f emacs -c emacsclient
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,10 +11,13 @@ else
 | 
			
		|||
    #echo "this is not hidpi"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style.rasi | xargs -r0 xdg-open $@ &
 | 
			
		||||
c=0
 | 
			
		||||
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
    sleep .1 
 | 
			
		||||
    c=$((c+1))
 | 
			
		||||
    [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
done
 | 
			
		||||
lolcate | rofi -dmenu -p " " -i -matching regex -theme ~/.config/rofi/launchers-git/$style.rasi | xargs -r0 xdg-open
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# $@ &
 | 
			
		||||
# c=0
 | 
			
		||||
# while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
#     sleep .1 
 | 
			
		||||
#     c=$((c+1))
 | 
			
		||||
#     [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
# done
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,18 +27,19 @@ list_passwords() {
 | 
			
		|||
 | 
			
		||||
passwords=$(rbw list)
 | 
			
		||||
 | 
			
		||||
prompt='search for passwords...'
 | 
			
		||||
prompt='BW'
 | 
			
		||||
if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
    SECRET=$(list_passwords | rofi -i -p="${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi $@ &
 | 
			
		||||
             c=0
 | 
			
		||||
             while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
                 sleep .1 
 | 
			
		||||
                 c=$((c+1))
 | 
			
		||||
                 [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
             done
 | 
			
		||||
    SECRET=$(list_passwords | rofi -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi
 | 
			
		||||
             # $@ &
 | 
			
		||||
             # c=0
 | 
			
		||||
             # while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
             #     sleep .1 
 | 
			
		||||
             #     c=$((c+1))
 | 
			
		||||
             #     [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
             # done
 | 
			
		||||
          )
 | 
			
		||||
else
 | 
			
		||||
    SECRET=$(list_passwords | rofi -i -p="${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
 | 
			
		||||
    SECRET=$(list_passwords | rofi -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Ask whether pass, user or both are required
 | 
			
		||||
| 
						 | 
				
			
			@ -49,16 +50,17 @@ options=("Password" \
 | 
			
		|||
	     "OTP")
 | 
			
		||||
 | 
			
		||||
if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
    option=$(printf '%s\n' "${options[@]%}" | rofi -i -dmenu -p="..." -theme ~/.config/rofi/launchers-git/$style.rasi $@ &
 | 
			
		||||
             c=0
 | 
			
		||||
             while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
                 sleep .1 
 | 
			
		||||
                 c=$((c+1))
 | 
			
		||||
                 [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
             done
 | 
			
		||||
    option=$(printf '%s\n' "${options[@]%}" | rofi -i -dmenu -p "" -theme ~/.config/rofi/launchers-git/$style.rasi
 | 
			
		||||
             # $@ &
 | 
			
		||||
             # c=0
 | 
			
		||||
             # while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
 | 
			
		||||
             #     sleep .1 
 | 
			
		||||
             #     c=$((c+1))
 | 
			
		||||
             #     [[ c = 50 ]] && exit; # stop script window didn't appear after 5 seconds
 | 
			
		||||
             # done
 | 
			
		||||
          )
 | 
			
		||||
else
 | 
			
		||||
    option=$(printf '%s\n' "${options[@]%}" | rofi -i -dmenu -p="..." -theme ~/.config/rofi/launchers-git/$style.rasi)
 | 
			
		||||
    option=$(printf '%s\n' "${options[@]%}" | rofi -i -dmenu -p "" -theme ~/.config/rofi/launchers-git/$style.rasi)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# echo $option
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
notify-send " $(light -G) ﯧ "
 | 
			
		||||
awesome-client "naughty.destroy_all_notifications()"
 | 
			
		||||
 | 
			
		||||
notify-send "$(light -G)" --icon=display-brightness
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,42 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
window=$(wmctrl -l | awk '{print $4}' | rg org-agenda)
 | 
			
		||||
active=$(xdotool getwindowfocus getwindowname)
 | 
			
		||||
 | 
			
		||||
# Check to see if an emacsclient is running
 | 
			
		||||
if [ $(pgrep -c emacsclient) -gt 0 ]; then
 | 
			
		||||
    
 | 
			
		||||
    if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
        #X11
 | 
			
		||||
        window=$(wmctrl -lx | rg org-agenda | awk '{print $1}')
 | 
			
		||||
        # echo $emacsrg
 | 
			
		||||
 | 
			
		||||
        if [ -z $window ]; then
 | 
			
		||||
    wmctrl -a $window
 | 
			
		||||
            emacsclient -e '(chris/org-agenda)' &
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
    emacsclient -e '(chris/org-agenda)'
 | 
			
		||||
            if [ $window = $active ]; then
 | 
			
		||||
                wmctrl -ir $window -b toggle,hidden
 | 
			
		||||
            else
 | 
			
		||||
                wmctrl -ia $window
 | 
			
		||||
                exit
 | 
			
		||||
            fi
 | 
			
		||||
        fi
 | 
			
		||||
    else
 | 
			
		||||
        if [ $KDE_FULL_SESSION = "true" ]; then
 | 
			
		||||
            ww -f emacs -c emacsclient
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            # WAYLAND
 | 
			
		||||
            emacsrg=$(wlrctl window list | rg 'emacs:\sorg-agenda' | rg 'emacs:')
 | 
			
		||||
 | 
			
		||||
            emacswin=$(echo $emacsrg | sed 's/.*\: //')
 | 
			
		||||
            # echo $emacswin
 | 
			
		||||
 | 
			
		||||
            wlrctl toplevel focus title:"$emacswin"
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
else
 | 
			
		||||
    emacsclient -e '(chris/org-agenda)' &
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,16 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
if [ $(hostname) = "syl" ]; then
 | 
			
		||||
    if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
        style="laptop-search"
 | 
			
		||||
    else
 | 
			
		||||
        style="laptop-search-wayland"
 | 
			
		||||
    fi
 | 
			
		||||
else 
 | 
			
		||||
    style="desktop-search"
 | 
			
		||||
    #echo "this is not hidpi"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
timestamp=$(date +%F-%T)
 | 
			
		||||
 | 
			
		||||
picture=$(maim --hidecursor --select /tmp/$timestamp.png)
 | 
			
		||||
| 
						 | 
				
			
			@ -10,7 +21,7 @@ declare -a options=(
 | 
			
		|||
    "cancel"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -p 'Clip or Save')
 | 
			
		||||
choice=$(printf '%s\n' "${options[@]}" | rofi -theme /home/chris/dotfiles/rofi/launchers-git/$style.rasi -dmenu -p 'Clip or Save')
 | 
			
		||||
 | 
			
		||||
if [[ "$choice" == "cancel" ]]; then
 | 
			
		||||
    rm /tmp/$timestamp.png
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										5
									
								
								scripts/timeget
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								scripts/timeget
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,5 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
awesome-client "naughty.destroy_all_notifications()"
 | 
			
		||||
 | 
			
		||||
notify-send "$(date +"%h %d, %H:%M:%S %p")" --icon=time
 | 
			
		||||
							
								
								
									
										7
									
								
								scripts/voldown
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								scripts/voldown
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
awesome-client "naughty.destroy_all_notifications()"
 | 
			
		||||
pactl set-sink-volume @DEFAULT_SINK@ -5%
 | 
			
		||||
paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
 | 
			
		||||
volume=$(pulsemixer --get-volume | awk '{print $1}')
 | 
			
		||||
notify-send $volume
 | 
			
		||||
							
								
								
									
										7
									
								
								scripts/volup
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								scripts/volup
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
awesome-client "naughty.destroy_all_notifications()"
 | 
			
		||||
pactl set-sink-volume @DEFAULT_SINK@ +5%
 | 
			
		||||
paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
 | 
			
		||||
volume=$(pulsemixer --get-volume | awk '{print $1}')
 | 
			
		||||
notify-send $volume
 | 
			
		||||
| 
						 | 
				
			
			@ -1,8 +1,8 @@
 | 
			
		|||
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works.
 | 
			
		||||
map('gt', 'T');
 | 
			
		||||
api.map('gt', 'T');
 | 
			
		||||
 | 
			
		||||
// an example to remove mapkey `Ctrl-i`
 | 
			
		||||
unmap('<ctrl-i>');
 | 
			
		||||
api.unmap('<ctrl-i>');
 | 
			
		||||
 | 
			
		||||
settings.smoothScroll = false;
 | 
			
		||||
settings.scrollStepSize = 220;
 | 
			
		||||
| 
						 | 
				
			
			@ -45,4 +45,3 @@ settings.theme = `
 | 
			
		|||
#sk_status, #sk_find {
 | 
			
		||||
    font-size: 20pt;
 | 
			
		||||
}`;
 | 
			
		||||
// click `Save` button to make above settings to take effect.</ctrl-i></ctrl-y>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,13 +57,17 @@ unbind v
 | 
			
		|||
command torrent js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('transadd ' + url))
 | 
			
		||||
 | 
			
		||||
" YTDL
 | 
			
		||||
command ytdl js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('alacritty -e yt-dlp -o ~/Videos/%(title)s.%(ext)s ' + url))
 | 
			
		||||
command ytdl js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('dlvideo ' + url))
 | 
			
		||||
 | 
			
		||||
command aud js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('dlaudio ' + url))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
"" Adding my own bindings
 | 
			
		||||
bind v hint -W mpv
 | 
			
		||||
bind gt hint -W torrent
 | 
			
		||||
bind gv current_url mpv
 | 
			
		||||
bind ga hint -W aud 
 | 
			
		||||
bind gV hint -W ytdl
 | 
			
		||||
bind F hint -t
 | 
			
		||||
bind gy hint -y
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -87,7 +87,7 @@ binding_screenshot_interactive = <super> KEY_PRINT
 | 
			
		|||
binding_terminal = <super> KEY_ENTER
 | 
			
		||||
binding_pass = <super> KEY_P
 | 
			
		||||
command_agenda = emacsclient -e '(chris/org-agenda)'
 | 
			
		||||
command_browser = fflof
 | 
			
		||||
command_browser = qblof
 | 
			
		||||
command_dolphin = dolphin
 | 
			
		||||
command_emacs = emacslof
 | 
			
		||||
command_kanshi = kanshi
 | 
			
		||||
| 
						 | 
				
			
			@ -446,7 +446,7 @@ rule_3 = on created if app_id is "emacs" then tile
 | 
			
		|||
clip_shadow_inside = true
 | 
			
		||||
enabled_views = all
 | 
			
		||||
include_undecorated_views = true
 | 
			
		||||
shadow_color = \#000000E6
 | 
			
		||||
shadow_color = \#000000FF
 | 
			
		||||
shadow_radius = 30
 | 
			
		||||
 | 
			
		||||
[winzoom]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue