diff --git a/picom.conf b/picom.conf index fa6f083..bc4a56c 100644 --- a/picom.conf +++ b/picom.conf @@ -2,7 +2,7 @@ # Corners # ################################# # requires: https://github.com/sdhand/compton -corner-radius = 12.0; +corner-radius = 30.0; rounded-corners-exclude = [ #"window_type = 'normal'", "class_g = 'awesome'", @@ -11,7 +11,7 @@ rounded-corners-exclude = [ "class_g = 'kitty'", "class_g = 'emacs'", # "name_g = 'EXWM workspace'", - "class_g = 'Polybar'", + # "class_g = 'Polybar'", # "class_g = 'mpv'", # "class_g = 'qutebrowser'", #"class_g = 'TelegramDesktop'", diff --git a/polybar/config b/polybar/config index 97ae17f..e3d683b 100644 --- a/polybar/config +++ b/polybar/config @@ -30,10 +30,10 @@ green= #5af78e [bar/float] ;monitor = ${env:MONITOR:HDMI-1} -width = 100% +width = 98% height = 60 -;offset-x = 1% -;offset-y = 1% +offset-x = 1% +offset-y = 1% radius = 0.0 fixed-center = true bottom = true @@ -63,11 +63,11 @@ modules-left = filesystem exwm-mail xbacklight pulseaudio exwm-buffer-name modules-center = memory date cpu modules-right = wlan battery powermenu -tray-position = right +tray-position = center tray-padding = 5 tray-maxsize = 30 tray-background = ${colors.background} -; tray-offset-x = -1428 +tray-offset-x = 1028 ;wm-restack = bspwm ;wm-restack = i3 diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml index ac827d3..a6402bf 100644 --- a/qutebrowser/autoconfig.yml +++ b/qutebrowser/autoconfig.yml @@ -7,4 +7,4 @@ config_version: 2 settings: content.notifications: - https://www.reddit.com: false + https://www.facebook.com: false diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 68694a4..22e76df 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -118,12 +118,12 @@ c.colors.completion.scrollbar.bg = base00 c.colors.contextmenu.menu.bg = base00 # Foreground color of the context menu. If set to null, the Qt default is used. -c.colors.contextmenu.menu.fg = base05 +c.colors.contextmenu.menu.fg = base05 # Background color of the context menu’s selected item. If set to null, the Qt default is used. c.colors.contextmenu.selected.bg = base0A -#Foreground color of the context menu’s selected item. If set to null, the Qt default is used. +# Foreground color of the context menu’s selected item. If set to null, the Qt default is used. c.colors.contextmenu.selected.fg = base01 # Background color for the download bar. @@ -747,13 +747,13 @@ c.colors.hints.match.fg = base02 ## - lightness-cielab: Modify colors by converting them to CIELAB color space and inverting the L value. ## - lightness-hsl: Modify colors by converting them to the HSL color space and inverting the lightness (i.e. the "L" in HSL). ## - brightness-rgb: Modify colors by subtracting each of r, g, and b from their maximum value. -# c.colors.webpage.darkmode.algorithm = 'lightness-cielab' +c.colors.webpage.darkmode.algorithm = "lightness-cielab" ## Contrast for dark mode. This only has an effect when ## `colors.webpage.darkmode.algorithm` is set to `lightness-hsl` or ## `brightness-rgb`. ## Type: Float -c.colors.webpage.darkmode.contrast = 0.7 +c.colors.webpage.darkmode.contrast = 0.5 ## Render all web contents using a dark theme. Example configurations ## from Chromium's `chrome://flags`: - "With simple HSL/CIELAB/RGB-based @@ -788,14 +788,14 @@ c.colors.webpage.darkmode.enabled = False ## - always: Apply dark mode filter to all images. ## - never: Never apply dark mode filter to any images. ## - smart: Apply dark mode based on image content. -c.colors.webpage.darkmode.policy.images = 'smart' +c.colors.webpage.darkmode.policy.images = "never" ## Which pages to apply dark mode to. ## Type: String ## Valid values: ## - always: Apply dark mode filter to all frames, regardless of content. ## - smart: Apply dark mode filter to frames based on background color. -c.colors.webpage.darkmode.policy.page = 'smart' +c.colors.webpage.darkmode.policy.page = "smart" ## Threshold for inverting background elements with dark mode. Background ## elements with brightness above this threshold will be inverted, and @@ -828,7 +828,7 @@ c.colors.webpage.prefers_color_scheme_dark = True ## Height (in pixels or as percentage of the window) of the completion. ## Type: PercOrInt -c.completion.height = '40%' +c.completion.height = "40%" ## Minimum amount of characters needed to update completions. ## Type: Int @@ -1230,7 +1230,7 @@ c.content.host_blocking.enabled = False ## List of user stylesheet filenames to use. ## Type: List of File, or File # or if you have a directory with .user.css files: -c.content.user_stylesheets = glob.glob('./css*.user.css') +c.content.user_stylesheets = glob.glob("./css*.user.css") ## Enable WebGL. ## Type: Bool @@ -1287,7 +1287,7 @@ c.content.webgl = True ## Valid values: ## - top ## - bottom -c.downloads.position = 'bottom' +c.downloads.position = "bottom" ## Duration (in milliseconds) to wait before removing finished downloads. ## If set to -1, downloads are never removed. @@ -1425,7 +1425,7 @@ c.downloads.remove_finished = 8000 ## - unique-match: Auto-follow whenever there is a unique non-empty match in either the hint string (word mode) or filter (number mode). ## - full-match: Follow the hint when the user typed the whole hint (letter, word or number mode) or the element's text (only in number mode). ## - never: The user will always need to press Enter to follow a hint. -c.hints.auto_follow = 'always' +c.hints.auto_follow = "always" ## Duration (in milliseconds) to ignore normal-mode key bindings after a ## successful auto-follow. @@ -1798,7 +1798,7 @@ c.scrolling.smooth = False ## Padding (in pixels) for the statusbar. ## Type: Padding -c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 2} +c.statusbar.padding = {"top": 1, "bottom": 1, "left": 0, "right": 2} ## Position of the status bar. ## Type: VerticalPosition @@ -1813,7 +1813,7 @@ c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 2} ## - always: Always show the statusbar. ## - never: Always hide the statusbar. ## - in-mode: Show the statusbar when in modes other than normal mode. -c.statusbar.show = 'in-mode' +c.statusbar.show = "in-mode" ## List of widgets displayed in the statusbar. ## Type: List of String @@ -1972,7 +1972,7 @@ c.statusbar.show = 'in-mode' ## - never: Always hide the tab bar. ## - multiple: Hide the tab bar if only one tab is open. ## - switching: Show the tab bar when switching tabs. -c.tabs.show = 'switching' +c.tabs.show = "switching" ## Duration (in milliseconds) to show the tab bar before hiding it when ## tabs.show is set to 'switching'. @@ -1989,7 +1989,7 @@ c.tabs.tabs_are_windows = True ## - left ## - right ## - center -c.tabs.title.alignment = 'center' +c.tabs.title.alignment = "center" ## Format to use for the tab title. The following placeholders are ## defined: * `{perc}`: Percentage as a string like `[10%]`. * @@ -2077,14 +2077,16 @@ c.tabs.title.alignment = 'center' ## the search engine name to the search term, e.g. `:open google ## qutebrowser`. ## Type: Dict -c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', - 'yt': 'https://yewtu.be/search?q={}', - 'mel': 'https://melpa.org/#/?q={}', - 'y': 'https://www.youtube.com/results?search_query={}', - 'ama': 'https://smile.amazon.com/s?k={}', - 'aur': 'https://aur.archlinux.org/packages/?O=0&K={}', - 'od': 'https://odysee.com/$/search?q={}', - 'aw': 'https://wiki.archlinux.org/index.php?search={}'} +c.url.searchengines = { + "DEFAULT": "https://duckduckgo.com/?q={}", + "yt": "https://yewtu.be/search?q={}", + "mel": "https://melpa.org/#/?q={}", + "y": "https://www.youtube.com/results?search_query={}", + "ama": "https://smile.amazon.com/s?k={}", + "aur": "https://aur.archlinux.org/packages/?O=0&K={}", + "od": "https://odysee.com/$/search?q={}", + "aw": "https://wiki.archlinux.org/index.php?search={}", +} ## Page(s) to open at the start. ## Type: List of FuzzyUrl, or FuzzyUrl @@ -2189,8 +2191,8 @@ c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', # config.bind('F', 'hint all tab') # config.bind('G', 'scroll-to-perc') # config.bind('H', 'back') -config.bind('K', 'tab-next') -config.bind('J', 'tab-prev') +config.bind("K", "tab-next") +config.bind("J", "tab-prev") # config.bind('L', 'forward') # config.bind('M', 'bookmark-add') # config.bind('N', 'search-prev') @@ -2213,7 +2215,7 @@ config.bind('J', 'tab-prev') # config.bind('b', 'set-cmd-text -s :quickmark-load') # config.bind('cd', 'download-clear') # config.bind('co', 'tab-only') -config.bind('d', 'close') +config.bind("d", "close") # config.bind('f', 'hint') # config.bind('g$', 'tab-focus -1') # config.bind('g0', 'tab-focus 1') @@ -2242,7 +2244,7 @@ config.bind('d', 'close') # config.bind('l', 'scroll right') # config.bind('m', 'quickmark-save') # config.bind('n', 'search-next') -config.bind('o', 'set-cmd-text -s :open') +config.bind("o", "set-cmd-text -s :open") # config.bind('pP', 'open -- {primary}') # config.bind('pp', 'open -- {clipboard}') # config.bind('q', 'record-macro') @@ -2426,10 +2428,13 @@ config.bind('o', 'set-cmd-text -s :open') # config.bind('y', 'prompt-accept yes', mode='yesno') ## Bindings for MPV and YTDL -config.bind('v', 'hint links spawn --detach mpv --force-window yes {hint-url}') -config.bind('gv', 'spawn --detach mpv --force-window yes {url}') -config.bind('gc', 'spawn org-capture "{url}"') -config.bind('gV', 'hint links spawn alacritty -e youtube-dl -o ~/Videos/%(title)s.%(ext)s {hint-url}') +config.bind("v", "hint links spawn --detach mpv --force-window yes {hint-url}") +config.bind("gv", "spawn --detach mpv --force-window yes {url}") +config.bind("gc", 'spawn org-capture "{url}"') +config.bind( + "gV", + "hint links spawn alacritty -e youtube-dl -o ~/Videos/%(title)s.%(ext)s {hint-url}", +) ## Bindings for MPV and YTDL # config.bind('o', 'spawn --userscript rofi')