A lot of improvements

This commit is contained in:
2021-11-24 18:04:46 +01:00
parent a93e6168ff
commit 231a6db588
12 changed files with 152 additions and 39 deletions

View File

@@ -47,11 +47,9 @@ xss-lock -v -- betterlockscreen -l &
############################################################################################################################### ###############################################################################################################################
## Autostart apps ## ## Autostart apps ##
############################################################################################################################### ###############################################################################################################################
sleep 2 &
## Launch side notification tray, and move it to top
## Launch side notification tray (tint2; sleep 10; xdo raise -n tint2) &
tint2 &
## Screenshot daemon ## Screenshot daemon
flameshot & flameshot &

View File

@@ -87,6 +87,7 @@ bspc rule -a 9menu border=off manage=off
bspc rule -a tint2 layer=above border=off manage=off bspc rule -a tint2 layer=above border=off manage=off
bspc rule -a dunst border=off manage=off bspc rule -a dunst border=off manage=off
bspc rule -a Ulauncher border=off bspc rule -a Ulauncher border=off
bspc rule -a Variety state=floating rectangle=1600x120+0+440
#bspc desktop I --layout monocle #bspc desktop I --layout monocle
#bspc desktop II --layout monocle #bspc desktop II --layout monocle

View File

@@ -1,12 +1,12 @@
# Beware! This file is rewritten by htop when settings are changed in the interface. # Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly. # The parser is also very primitive, and not human-friendly.
htop_version=3.1.0 htop_version=3.1.1
config_reader_min_version=2 config_reader_min_version=2
fields=0 48 17 18 38 39 40 2 46 47 49 1 fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46 sort_key=46
sort_direction=1 sort_direction=1
tree_sort_key=0 tree_sort_key=47
tree_sort_direction=1 tree_sort_direction=-1
hide_kernel_threads=1 hide_kernel_threads=1
hide_userland_threads=0 hide_userland_threads=0
shadow_other_users=0 shadow_other_users=0

View File

@@ -0,0 +1,7 @@
^sep()
Lock,loginctl lock-session,system-lock-screen
Exit,^checkout(exit),system-shutdown
^tag(exit)
Suspend,systemctl -i suspend,system-log-out
Reboot,systemctl -i reboot,system-reboot
Poweroff,systemctl -i poweroff,system-shutdown
1 ^sep()
2 Lock,loginctl lock-session,system-lock-screen
3 Exit,^checkout(exit),system-shutdown
4 ^tag(exit)
5 Suspend,systemctl -i suspend,system-log-out
6 Reboot,systemctl -i reboot,system-reboot
7 Poweroff,systemctl -i poweroff,system-shutdown

View File

@@ -0,0 +1,74 @@
stay_alive = 1
tint2_look = 0
position_mode = fixed
terminal_exec = alacritty
terminal_args = -e
menu_width = 200
menu_padding_top = 10
menu_padding_right = 2
menu_padding_bottom = 5
menu_padding_left = 2
menu_radius = 0
menu_border = 1
menu_halign = left
sub_hover_action = 1
item_margin_y = 5
item_height = 30
item_padding_x = 8
item_radius = 0
item_border = 0
sep_height = 5
font = SauceCodePro Nerd Font Mono 12px
icon_size = 24
color_menu_bg = #2b303b 100
color_norm_bg = #2b303b 0
color_norm_fg = #8fa1b3 100
color_sel_bg = #8fa1b3 60
color_sel_fg = #2b303b 100
color_sep_fg = #8fa1b3 40
verbosity = 4
# persistent = 0
# hide_on_startup = 0
# csv_cmd = apps
# edge_snap_x = 30
# monitor = 0
# hover_delay = 100
# hide_back_items = 1
# columns = 1
# tabs = 120
# menu_margin_x = 0
menu_margin_y = 32
# menu_height_min = 0
# menu_height_max = 0
# menu_height_mode = static
menu_valign = top
# menu_gradient_pos = none
# sub_spacing = 1
# sub_padding_top = auto
# sub_padding_right = auto
# sub_padding_bottom = auto
# sub_padding_left = auto
# item_margin_x = 3
# item_halign = left
# sep_halign = left
# sep_markup =
# font_fallback = xtg
icon_text_spacing = 10
icon_norm_alpha = 100
icon_sel_alpha = 100
icon_theme = Papirus
icon_theme_fallback = xtg
# arrow_string = ▸
# arrow_width = 15
# color_menu_bg_to = #000000 100
# color_menu_border = #eeeeee 8
# color_sel_border = #eeeeee 8
# color_scroll_ind = #eeeeee 40
# color_title_fg = #eeeeee 50
# color_title_bg = #000000 0
# color_title_border = #000000 0
# csv_name_format = %n (%g)
# csv_single_window = 0
# csv_no_dirs = 0
# csv_i18n =
# csv_no_duplicates = 0

View File

@@ -0,0 +1,3 @@
Terminal,alacritty,utilities-terminal
Browser,brave-browser-dev,brave-browser-dev
^sep()
1 Terminal,alacritty,utilities-terminal
2 Browser,brave-browser-dev,brave-browser-dev
3 ^sep()

View File

@@ -57,8 +57,8 @@ font-4 = "SauceCodePro Nerd Font Mono:size=13;3"
font-5 = "Noto Color Emoji:scale=10;1" font-5 = "Noto Color Emoji:scale=10;1"
modules-left = rofi bspwm modules-left = rofi bspwm
modules-center = mpd_icon title modules-center = mpd_icon sys_icon title
modules-right = xkeyboard xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu modules-right = xkeyboard xbacklight pulseaudio wlan battery temperature date powermenu
;tray-position = right ;tray-position = right
;tray-padding = 10 ;tray-padding = 10
@@ -109,6 +109,45 @@ override-redirect = true
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
[bar/sys]
monitor = ${env:MONITOR:}
width = 66.66%
height = 27
offset-x = 17.66%
offset-y = 35
radius = 10
fixed-center = true
foreground = ${colors.background}
background = #5E81AC
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = "SauceCodePro Nerd Font Mono:size=10"
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-3 = "SauceCodePro Nerd Font Mono:size=16;4"
font-4 = "SauceCodePro Nerd Font Mono:size=13;2"
modules-center = temperature
modules-right = memory cpu wlan eth
override-redirect = true
cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:30:...% label = %title:0:30:...%
@@ -413,9 +452,16 @@ content = 
content-font = 4 content-font = 4
;content-underline = #0a6cf5 ;content-underline = #0a6cf5
[module/sys_icon]
type = custom/text
click-left = toggle-run "polybar sys"
content = 
content-font = 4
[module/rofi] [module/rofi]
type = custom/text type = custom/text
click-left = xlunch --input /etc/xlunch/entries.dsv --bc 2e3440aa >> /tmp/xlunchlog.log 2>&1 click-left = jgmenu_run
;xlunch --input /etc/xlunch/entries.dsv --bc 2e3440aa >> /tmp/xlunchlog.log 2>&1
content =  content = 
content-padding = 1 content-padding = 1

View File

@@ -242,15 +242,15 @@ super + ctrl + button4
# app where your mouse was when you opened the menu. Smartsplit only chooses # app where your mouse was when you opened the menu. Smartsplit only chooses
# biggest dimension of the window, MouseLaunch only cares which edge is closer. # biggest dimension of the window, MouseLaunch only cares which edge is closer.
# mod5 is alt_gr (first key right from space) on most keyboards. # mod5 is alt_gr (first key right from space) on most keyboards.
mod5 + @button1 #mod5 + @button1
MouseLaunch ; mygtkmenui -- .config/GTKmenu/LaunchMenu #MouseLaunch ; mygtkmenui -- .config/GTKmenu/LaunchMenu
# smartsplit ; dboxmenu # smartsplit ; dboxmenu
# Spawn window manipulation menu # Spawn window manipulation menu
# Mod1 is alt # Mod1 is alt
# BspwmWindowMenu # BspwmWindowMenu
mod1 + @button1 #mod1 + @button1
mygtkmenui -- .config/GTKmenu/BspwmWindowMenui #mygtkmenui -- .config/GTKmenu/BspwmWindowMenui
# #
@@ -268,9 +268,8 @@ super + space
# Triggered by jus tapping super # Triggered by jus tapping super
super + shift + @space super + shift + @space
xlunch -- ulauncher-toggle
#gnome-pie -o 460 --display=:0 #gnome-pie -o 460 --display=:0
# dmenu_recent -h $PANEL_HEIGHT -fn 'xos4 Terminus:size=15' -i
super + shift + Return super + shift + Return
urxvt urxvt
@@ -342,6 +341,9 @@ XF86AudioMicMute
XF86Launch1 XF86Launch1
rofi -modi drun,run,window,calc,windowcd,combi,keys,filebrowser,emoji -show drun rofi -modi drun,run,window,calc,windowcd,combi,keys,filebrowser,emoji -show drun
ctrl + shift + Escape
alacritty -e htop
# make sxhkd reload its configuration files: # make sxhkd reload its configuration files:
super + shift + Escape super + shift + Escape
pkill -SIGUSR1 -x sxhkd pkill -SIGUSR1 -x sxhkd

View File

@@ -104,13 +104,6 @@
"last_commit": "03293cb335c8822dd5ea9b236bc6cce093a9516e", "last_commit": "03293cb335c8822dd5ea9b236bc6cce093a9516e",
"last_commit_time": "2021-10-19T19:41:50" "last_commit_time": "2021-10-19T19:41:50"
}, },
"com.github.ralcaidev.ulauncher-extension-list": {
"id": "com.github.ralcaidev.ulauncher-extension-list",
"url": "https://github.com/ralcaidev/ulauncher-extension-list",
"updated_at": "2021-10-29T14:58:35.339306",
"last_commit": "0cb7711bc1dc89a76bcb89d29082e18deac28227",
"last_commit_time": "2019-07-19T06:31:41"
},
"com.github.aksdb.ulauncher-gitmoji": { "com.github.aksdb.ulauncher-gitmoji": {
"id": "com.github.aksdb.ulauncher-gitmoji", "id": "com.github.aksdb.ulauncher-gitmoji",
"url": "https://github.com/aksdb/ulauncher-gitmoji", "url": "https://github.com/aksdb/ulauncher-gitmoji",
@@ -160,20 +153,6 @@
"last_commit": "2de05a08479fd6660ec513dd62f85b21b1eb6ab3", "last_commit": "2de05a08479fd6660ec513dd62f85b21b1eb6ab3",
"last_commit_time": "2021-02-11T22:40:12" "last_commit_time": "2021-02-11T22:40:12"
}, },
"com.github.dflock.ulauncher-xfwm-workspace-switcher": {
"id": "com.github.dflock.ulauncher-xfwm-workspace-switcher",
"url": "https://github.com/dflock/ulauncher-xfwm-workspace-switcher",
"updated_at": "2021-10-29T15:20:36.888770",
"last_commit": "0abc046db0703cfe4a7302d0d0391345015e086f",
"last_commit_time": "2021-02-04T05:46:46"
},
"com.github.ygun.ulauncher-nm": {
"id": "com.github.ygun.ulauncher-nm",
"url": "https://github.com/ygun/ulauncher-nm",
"updated_at": "2021-10-29T15:21:09.067104",
"last_commit": "036a0b3b24fb325f7aa648872c916d04966e7101",
"last_commit_time": "2021-02-03T13:17:59"
},
"com.github.kazumasan.ulauncher-sessions": { "com.github.kazumasan.ulauncher-sessions": {
"id": "com.github.kazumasan.ulauncher-sessions", "id": "com.github.kazumasan.ulauncher-sessions",
"url": "https://github.com/Kazumasan/ulauncher-sessions", "url": "https://github.com/Kazumasan/ulauncher-sessions",

View File

@@ -1,7 +1,7 @@
{ {
"blacklisted-desktop-dirs": "/usr/share/locale:/usr/share/app-install:/usr/share/kservices5:/usr/share/fk5:/usr/share/kservicetypes5:/usr/share/applications/screensavers:/usr/share/kde4:/usr/share/mimelnk", "blacklisted-desktop-dirs": "/usr/share/locale:/usr/share/app-install:/usr/share/kservices5:/usr/share/fk5:/usr/share/kservicetypes5:/usr/share/applications/screensavers:/usr/share/kde4:/usr/share/mimelnk",
"clear-previous-query": true, "clear-previous-query": true,
"disable-desktop-filters": false, "disable-desktop-filters": true,
"grab-mouse-pointer": true, "grab-mouse-pointer": true,
"hotkey-show-app": "<Primary>space", "hotkey-show-app": "<Primary>space",
"render-on-screen": "mouse-pointer-monitor", "render-on-screen": "mouse-pointer-monitor",

View File

@@ -70,7 +70,10 @@ alias map="xargs -n1"
# Reload the shell (i.e. invoke as a login shell) # Reload the shell (i.e. invoke as a login shell)
alias reload="exec $SHELL -l" alias reload="exec $SHELL -l"
alias p="ping 1.1.1.1" #See if connection works alias p="ping 1.1.1.1" #See if connection works
alias pp="prettyping 1.1.1.1"
alias path='echo -e ${PATH//:/\\n}' #Print each PATH entry on a separate line alias path='echo -e ${PATH//:/\\n}' #Print each PATH entry on a separate line
alias mkdir='mkdir -pv' #Intuitive mkdir alias mkdir='mkdir -pv' #Intuitive mkdir
# get top process eating memory # get top process eating memory

View File

@@ -157,7 +157,7 @@ setopt interactivecomments
zplug "MichaelAquilina/zsh-you-should-use" zplug "MichaelAquilina/zsh-you-should-use"
zplug "redxtech/zsh-asdf-direnv", defer:2 #zplug "redxtech/zsh-asdf-direnv", defer:2
#zplug "raisty/alt-and-select" #zplug "raisty/alt-and-select"
zplug "plugins/emoji", from:oh-my-zsh zplug "plugins/emoji", from:oh-my-zsh
zplug "plugins/virtualenv", from:oh-my-zsh zplug "plugins/virtualenv", from:oh-my-zsh