dpi changes and other misc
This commit is contained in:
		
							parent
							
								
									0c80a9f91f
								
							
						
					
					
						commit
						9285b6ca5d
					
				
					 5 changed files with 20 additions and 58 deletions
				
			
		| 
						 | 
					@ -165,11 +165,10 @@
 | 
				
			||||||
                                                     :bg_focus beautiful.bg_normal
 | 
					                                                     :bg_focus beautiful.bg_normal
 | 
				
			||||||
                                                     }
 | 
					                                                     }
 | 
				
			||||||
                                             :layout {
 | 
					                                             :layout {
 | 
				
			||||||
                                                      :spacing 20
 | 
					                                                      :spacing (dpi 20)
 | 
				
			||||||
                                                      :spacing_widget {
 | 
					                                                      :spacing_widget {
 | 
				
			||||||
                                                                       1 {
 | 
					                                                                       1 {
 | 
				
			||||||
                                                                          :forced_width 5
 | 
					                                                                          :forced_width (dpi 5)                                                                          :forced_height (dpi 20)
 | 
				
			||||||
                                                                          :forced_height (dpi 20)
 | 
					 | 
				
			||||||
                                                                          :widget wibox.widget.separator
 | 
					                                                                          :widget wibox.widget.separator
 | 
				
			||||||
                                                                          }
 | 
					                                                                          }
 | 
				
			||||||
                                                                       :valign "center"
 | 
					                                                                       :valign "center"
 | 
				
			||||||
| 
						 | 
					@ -195,8 +194,8 @@
 | 
				
			||||||
                                                                        }
 | 
					                                                                        }
 | 
				
			||||||
                                                                     :layout wibox.layout.align.horizontal
 | 
					                                                                     :layout wibox.layout.align.horizontal
 | 
				
			||||||
                                                                     }
 | 
					                                                                     }
 | 
				
			||||||
                                                                  :left 10
 | 
					                                                                  :left (dpi 10)
 | 
				
			||||||
                                                                  :right 10
 | 
					                                                                  :right (dpi 10)
 | 
				
			||||||
                                                                  :widget wibox.container.margin
 | 
					                                                                  :widget wibox.container.margin
 | 
				
			||||||
                                                                  }
 | 
					                                                                  }
 | 
				
			||||||
                                                               :id "background_role"
 | 
					                                                               :id "background_role"
 | 
				
			||||||
| 
						 | 
					@ -213,11 +212,10 @@
 | 
				
			||||||
                                                     :shape gears.shape.rounded_bar
 | 
					                                                     :shape gears.shape.rounded_bar
 | 
				
			||||||
                                                     }
 | 
					                                                     }
 | 
				
			||||||
                                             :layout {
 | 
					                                             :layout {
 | 
				
			||||||
                                                      :spacing 20
 | 
					                                                      :spacing (dpi 20)
 | 
				
			||||||
                                                      :spacing_widget {
 | 
					                                                      :spacing_widget {
 | 
				
			||||||
                                                                       1 {
 | 
					                                                                       1 {
 | 
				
			||||||
                                                                          :forced_width 5
 | 
					                                                                          :forced_width (dpi 5)                                                                          :forced_height (dpi 20)
 | 
				
			||||||
                                                                          :forced_height (dpi 20)
 | 
					 | 
				
			||||||
                                                                          :widget wibox.widget.separator
 | 
					                                                                          :widget wibox.widget.separator
 | 
				
			||||||
                                                                          }
 | 
					                                                                          }
 | 
				
			||||||
                                                                       :valign "center"
 | 
					                                                                       :valign "center"
 | 
				
			||||||
| 
						 | 
					@ -243,8 +241,8 @@
 | 
				
			||||||
                                                                        }
 | 
					                                                                        }
 | 
				
			||||||
                                                                     :layout wibox.layout.align.horizontal
 | 
					                                                                     :layout wibox.layout.align.horizontal
 | 
				
			||||||
                                                                     }
 | 
					                                                                     }
 | 
				
			||||||
                                                                  :left 10
 | 
					                                                                  :left (dpi 10)
 | 
				
			||||||
                                                                  :right 10
 | 
					                                                                  :right (dpi 10)
 | 
				
			||||||
                                                                  :widget wibox.container.margin
 | 
					                                                                  :widget wibox.container.margin
 | 
				
			||||||
                                                                  }
 | 
					                                                                  }
 | 
				
			||||||
                                                               :id "background_role"
 | 
					                                                               :id "background_role"
 | 
				
			||||||
| 
						 | 
					@ -305,8 +303,8 @@
 | 
				
			||||||
                              2 s.mypromptbox
 | 
					                              2 s.mypromptbox
 | 
				
			||||||
                              3 s.mytasklist ;; Middle widget
 | 
					                              3 s.mytasklist ;; Middle widget
 | 
				
			||||||
                              }
 | 
					                              }
 | 
				
			||||||
                           :left 10
 | 
					                           :left (dpi 10)
 | 
				
			||||||
                           :right 10
 | 
					                           :right (dpi 10)
 | 
				
			||||||
                           :widget wibox.container.margin
 | 
					                           :widget wibox.container.margin
 | 
				
			||||||
                           }
 | 
					                           }
 | 
				
			||||||
                        2 s.mytextclock
 | 
					                        2 s.mytextclock
 | 
				
			||||||
| 
						 | 
					@ -314,11 +312,16 @@
 | 
				
			||||||
                           1 {
 | 
					                           1 {
 | 
				
			||||||
                              :layout wibox.layout.align.horizontal
 | 
					                              :layout wibox.layout.align.horizontal
 | 
				
			||||||
                              1 s.myemptywidget
 | 
					                              1 s.myemptywidget
 | 
				
			||||||
                              2 s.myminimizedtasklist
 | 
					                              2 {
 | 
				
			||||||
 | 
					                                 1 s.myminimizedtasklist
 | 
				
			||||||
 | 
					                                 :left (dpi 10)
 | 
				
			||||||
 | 
					                                 :right (dpi 20)
 | 
				
			||||||
 | 
					                                 :widget wibox.container.margin
 | 
				
			||||||
 | 
					                                 }
 | 
				
			||||||
                              3 s.myrightwidgets
 | 
					                              3 s.myrightwidgets
 | 
				
			||||||
                              }
 | 
					                              }
 | 
				
			||||||
                           :left 10
 | 
					                           :left (dpi 10)
 | 
				
			||||||
                           :right 10
 | 
					                           :right (dpi 10)
 | 
				
			||||||
                           :widget wibox.container.margin
 | 
					                           :widget wibox.container.margin
 | 
				
			||||||
                           }
 | 
					                           }
 | 
				
			||||||
                        })
 | 
					                        })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,46 +2,6 @@
 | 
				
			||||||
(local beautiful (require "beautiful"))
 | 
					(local beautiful (require "beautiful"))
 | 
				
			||||||
(local keybindings (require "keybindings"))
 | 
					(local keybindings (require "keybindings"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; (local modkey "Mod4")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
;; (local keys (gears.table.join
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey ] "f" (fn [c] (set c.fullscreen (not c.fullscreen)) (: c :raise))
 | 
					 | 
				
			||||||
;;          ;;            {:description "toggle fullscreen" :group "client"})
 | 
					 | 
				
			||||||
;;                  (awful.key [ modkey "Shift" ] "c" (fn [c] (: c :kill))
 | 
					 | 
				
			||||||
;;                             {:description "close" :group "client"})
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey "Control" ] "space" awful.client.floating.toggle
 | 
					 | 
				
			||||||
;;          ;;            {:description "toggle floating" :group "client"})
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey "Control" ] "Return" (fn [c] (: c :swap (awful.client.getmaster)))
 | 
					 | 
				
			||||||
;;          ;;            {:description "move to master" :group "client"})
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey ] "o" (fn [c] (: c :move_to_screen))
 | 
					 | 
				
			||||||
;;          ;;            {:description "move to screen" :group "client"})
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey ] "t"(fn [c] (set c.ontop (not c.ontop)))
 | 
					 | 
				
			||||||
;;          ;;            {:description "toggle keep on top" :group "client"})
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey ] "n" (fn [c]
 | 
					 | 
				
			||||||
;;          ;;                             ;; The client currently has the input focus, so it cannot be
 | 
					 | 
				
			||||||
;;          ;;                             ;; minimized, since minimized clients can't have the focus.
 | 
					 | 
				
			||||||
;;          ;;                             (set c.minimized true))
 | 
					 | 
				
			||||||
;;          ;;            {:description "minimize" :group "client"}),
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey ] "m" (fn [c] (set c.maximized (not c.maximized)) (: c :raise))
 | 
					 | 
				
			||||||
;;          ;;            {:description "(un)maximize" :group "client"}),
 | 
					 | 
				
			||||||
;;          ;; (awful.key [ modkey "Control" ] "m" (fn [c] (set c.maximized_vertical (not c.maximized_vertical)) (: c :raise))
 | 
					 | 
				
			||||||
;;          ;;            {:description "(un)maximize vertically" :group "client"}),
 | 
					 | 
				
			||||||
;;          ;; (awful.key [modkey "Shift" ] "m" (fn [c] (set c.maximized_horizontal (not c.maximized_horizontal)) (: c :raise))
 | 
					 | 
				
			||||||
;;          ;;            {:description "(un)maximize horizontally" :group "client"})
 | 
					 | 
				
			||||||
;;                 )
 | 
					 | 
				
			||||||
;;        )
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
;; (global clientbuttons
 | 
					 | 
				
			||||||
;;         (gears.table.join
 | 
					 | 
				
			||||||
;;          (awful.button [] 1 (fn [c] (: c :emit_signal "request::activate" "mouse_click" {:raise true})))
 | 
					 | 
				
			||||||
;;          (awful.button [ modkey ] 1 (fn [c]
 | 
					 | 
				
			||||||
;;                                       (: c :emit_signal "request::activate" "mouse_click" {:raise true})
 | 
					 | 
				
			||||||
;;                                       (awful.mouse.client.move c)))
 | 
					 | 
				
			||||||
;;          (awful.button [ modkey ] 3 (fn [c]
 | 
					 | 
				
			||||||
;;                                       (: c :emit_signal "request::activate" "mouse_click" {:raise true})
 | 
					 | 
				
			||||||
;;                                       (awful.mouse.client.resize c)))))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(local rules [
 | 
					(local rules [
 | 
				
			||||||
              ;; All clients match this rule
 | 
					              ;; All clients match this rule
 | 
				
			||||||
              {
 | 
					              {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,7 +15,7 @@ rounded-corners-exclude = [
 | 
				
			||||||
  #"class_g = 'TelegramDesktop'",
 | 
					  #"class_g = 'TelegramDesktop'",
 | 
				
			||||||
  # "class_g = 'firefox'",
 | 
					  # "class_g = 'firefox'",
 | 
				
			||||||
  "class_g = 'Thunderbird'",
 | 
					  "class_g = 'Thunderbird'",
 | 
				
			||||||
  "class_g = 'Alacritty'"
 | 
					  # "class_g = 'Alacritty'"
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
round-borders = 1;
 | 
					round-borders = 1;
 | 
				
			||||||
round-borders-exclude = [
 | 
					round-borders-exclude = [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,4 +7,4 @@
 | 
				
			||||||
config_version: 2
 | 
					config_version: 2
 | 
				
			||||||
settings:
 | 
					settings:
 | 
				
			||||||
  content.notifications:
 | 
					  content.notifications:
 | 
				
			||||||
    https://192.168.1.35: true
 | 
					    https://www.reddit.com: false
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1 @@
 | 
				
			||||||
https://duckduckgo.com/?q=yout&ia=about yout at DuckDuckGo
 | 
					 | 
				
			||||||
https://yewtu.be/feed/subscriptions Subscriptions - YewTube
 | 
					https://yewtu.be/feed/subscriptions Subscriptions - YewTube
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue