config change in waybar

This commit is contained in:
Simon Rieger 2023-05-03 16:21:51 +02:00
parent 11fc79b9c5
commit 622db348a8
8 changed files with 30 additions and 104 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View file

@ -48,9 +48,10 @@ set $mod Mod1
#font pango:Noto Sans Bold 9
#font pango:Droid Sans 9
#font pango:FontAwesome 8, pango: Droid Sans Mono 8
font pango:System San Francisco Display 10
#font pango:System San Francisco Display 10
#font pango:System San Francisco Display 6
#font pango:monospace 8
font pango:monospace 12
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@ -71,7 +72,7 @@ force_display_urgency_hint 0 ms
focus_on_window_activation urgent
# start a terminal
bindsym $mod+Return exec alacritty
bindsym $mod+Return exec wezterm
# kill focused window
bindsym $mod+Shift+q kill
@ -153,32 +154,6 @@ set $ws8 "8: Steam "
set $ws9 "9: Chat "
set $ws10 "10: Others "
# setting good windows settings for my programms
# xwininfo -tree -root
for_window [class="Alacritty"] move --no-auto-back-and-forth to workspace $ws1
for_window [class="firefox"] move --no-auto-back-and-forth to workspace $ws2
for_window [class="Thunderbird"] move --no-auto-back-and-forth to workspace $ws3
for_window [class="vlc"] move --no-auto-back-and-forth to workspace $ws5
for_window [class="libreoffice"] move --no-auto-back-and-forth to workspace $ws4
for_window [class="WPS Writer"] move --no-auto-back-and-forth to workspace $ws4
for_window [class="WPS PDF"] move --no-auto-back-and-forth to workspace $ws4
for_window [class="WPS Presentation"] move --no-auto-back-and-forth to workspace $ws4
for_window [class="WPS Spreadsheets"] move --no-auto-back-and-forth to workspace $ws4
for_window [class="VLC media player"] move --no-auto-back-and-forth to workspace $ws5
for_window [class="Mixxx"] move --no-auto-back-and-forth to workspace $ws5
for_window [class="Spotify"] move --no-auto-back-and-forth to workspace $ws5
for_window [class="TeamSpeak 3"] move --no-auto-back-and-forth to workspace $ws6
for_window [class="Mumble"] move --no-auto-back-and-forth to workspace $ws6
for_window [class="discord"] move --no-auto-back-and-forth to workspace $ws6
for_window [class="Eclipse"] move --no-auto-back-and-forth to workspace $ws7
for_window [class="Intellij"] move --no-auto-back-and-forth to workspace $ws7
for_window [class="jetbrains-idea"] move --no-auto-back-and-forth to workspace $ws7
for_window [class="jetbrains-studio"] move --no-auto-back-and-forth to workspace $ws7
for_window [class="Steam"] move --no-auto-back-and-forth to workspace $ws8
for_window [class="Telegram"] move --no-auto-back-and-forth to workspace $ws9
for_window [class="Element"] move --no-auto-back-and-forth to workspace $ws9
for_window [class="Quassel IRC"] move --no-auto-back-and-forth to workspace $ws9
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
@ -262,7 +237,7 @@ client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
#exec_always --no-startup-id $HOME/.config/polybar/launch.sh --cuts
bar {
font pango:System San Francisco Display, FontAwesome 12
font pango:MesloLGM Nerd Font Bold 13
position top
status_command i3status-rs ~/.config/i3status-rust/config.toml
colors {
@ -320,13 +295,13 @@ mode "$mode_launcher" {
bindsym $mod+b exec firefox
bindsym $mod+t exec pcmanfm
bindsym $mod+shift+t exec thunderbird
bindsym $mod+n exec alacritty -e nmtui
bindsym $mod+n exec wezterm start nmtui
bindsym $mod+y exec clipmenu
bindsym $mod+shift+y exec passdmenu -P -x clipboard
#bindsym $mod+o exec termite -e /usr/bin/alsamixer
#bindsym $mod+y exec alacritty -e ncmpcpp
#bindsym $mod+y exec wezterm start ncmpcpp
# Alsa-Steuerung & Lautstärke einstellen
#bindsym $mod+i exec amixer set Speaker 5%+
@ -358,8 +333,8 @@ for_window [class="newsbeuter"] floating enable border none
for_window [class="weechat"] floating enable border none
# Starter für Progs im Terminal
bindsym $mod+F1 exec alacritty -e arch-install
bindsym $mod+F2 exec alacritty -e htop
bindsym $mod+F1 exec wezterm start arch-install
bindsym $mod+F2 exec wezterm start htop
# assign special properties
for_window [class="^Pavucontrol$"] floating enable
@ -441,73 +416,26 @@ bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# monitor-picture
bindsym $mod+shift+p exec scrot -e 'mv $f ~/Bilder/' --silent --quality 50
bindsym Print exec sleep 1 && scrot --select -e 'mv $f ~/Bilder/' --quality 50
bindsym Shift+Print exec scrot -e 'mv $f ~/Bilder/' --silent --quality 50
#bindsym a+Print exec scrot -u -e 'mv $f ~/Bilder/' --silent --quality 50
bindsym $mod+p exec sleep 1 && scrot --select -e 'mv $f ~/Bilder/' --quality 50
# Power control script - a useful replacement for the normal i3 exiting keybind.
# https://wiki.archlinux.org/index.php/i3#Shutdown.2C_reboot.2C_lock_screen
set $mode_system System (1) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (d) shutdown
mode "$mode_system" {
bindsym 1 exec --no-startup-id ~/scripte/i3exit lock, mode "default"
bindsym e exec --no-startup-id ~/scripte/i3exit logout, mode "default"
bindsym s exec --no-startup-id ~/scripte/i3exit suspend, mode "default"
bindsym h exec --no-startup-id ~/scripte/i3exit hibernate, mode "default"
bindsym r exec --no-startup-id ~/scripte/i3exit reboot, mode "default"
bindsym d exec --no-startup-id ~/scripte/i3exit shutdown, mode "default"
bindsym 1 exec --no-startup-id ~/.config/i3/i3exit lock, mode "default"
bindsym e exec --no-startup-id ~/.config/i3/i3exit logout, mode "default"
bindsym s exec --no-startup-id ~/.config/i3/i3exit suspend, mode "default"
bindsym h exec --no-startup-id ~/.config/i3/i3exit hibernate, mode "default"
bindsym r exec --no-startup-id ~/.config/i3/i3exit reboot, mode "default"
bindsym d exec --no-startup-id ~/.config/i3/i3exit shutdown, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+x mode "$mode_system"
set $backlight_system Brightness (1) 10%, (2) 20%, (3) 30%, (4) 40%, (5) 50%, (6) 60%, (7) 70%, (8) 80%, (9) 100%, (0) 0%
mode "$backlight_system" {
bindsym 1 exec "~/.config/i3/backlight_system.sh 50 500"
bindsym 2 exec "~/.config/i3/backlight_system.sh 75 700"
bindsym 3 exec "~/.config/i3/backlight_system.sh 100 900"
bindsym 4 exec "~/.config/i3/backlight_system.sh 125 1100"
bindsym 5 exec "~/.config/i3/backlight_system.sh 150 1300"
bindsym 6 exec "~/.config/i3/backlight_system.sh 175 1500"
bindsym 7 exec "~/.config/i3/backlight_system.sh 200 1700"
bindsym 8 exec "~/.config/i3/backlight_system.sh 225 1900"
bindsym 9 exec "~/.config/i3/backlight_system.sh 255 2100"
bindsym 0 exec "~/.config/i3/backlight_system.sh 0 0"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+m mode "$backlight_system"
set $hue_light Phillips-Hue Light (1) 10%, (2) 20%, (3) 30%, (4) 40%, (5) 50%, (6) 60%, (7) 70%, (8) 80%, (9) 100%, (0) 0%
mode "$hue_light" {
bindsym 1 exec "~/.config/i3/hui_light.sh true 50"
bindsym 2 exec "~/.config/i3/hui_light.sh true 75"
bindsym 3 exec "~/.config/i3/hui_light.sh true 100"
bindsym 4 exec "~/.config/i3/hui_light.sh true 125"
bindsym 5 exec "~/.config/i3/hui_light.sh true 150"
bindsym 6 exec "~/.config/i3/hui_light.sh true 175"
bindsym 7 exec "~/.config/i3/hui_light.sh true 200"
bindsym 8 exec "~/.config/i3/hui_light.sh true 225"
bindsym 9 exec "~/.config/i3/hui_light.sh true 255"
bindsym 0 exec "~/.config/i3/hui_light.sh false 0"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+u mode "$hue_light"
set $hue_light_color Phillips-Hue Color (r) Red, (g) Green, (b) Blue
mode "$hue_light_color" {
bindsym r exec "~/.config/i3/hui_light_color.sh 0"
bindsym g exec "~/.config/i3/hui_light_color.sh 25500"
bindsym b exec "~/.config/i3/hui_light_color.sh 46920"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+shift+u mode "$hue_light_color"
## Manual management of external displays
# Set the shortcuts and what they do
set $mode_display Ext Screen (v) eDP ON, (h) HDMI ON, (x) eDP OFF, (y) HDMI OFF
@ -537,11 +465,11 @@ bindsym $mod+Shift+z move container to workspace back_and_forth; workspace back_
exec --no-startup-id ~/.screenlayout/monitor.sh
# background
exec_always --no-startup-id feh --bg-scale /opt/deadc0de-remix-os/desktop-bilder/Hyllian-Suite.jpg
exec_always --no-startup-id feh --bg-scale ~/desktop-bilder/background.jpg
#exec_always --no-startup-id feh --bg-scale /opt/deadc0de-os-code/background.jpg
# conky ;-)
exec --no-startup-id /opt/.Conky/startconky.sh now
#exec --no-startup-id /opt/.Conky/startconky.sh now
# transparent background termite
#exec --no-startup-id picom -b --config ~/.config/i3/picom.conf
@ -550,7 +478,7 @@ exec --no-startup-id /opt/.Conky/startconky.sh now
#exec --no-startup-id volumeicon
# Networkmanager
#exec --no-startup-id nm-applet
exec --no-startup-id nm-applet
# Bluetooth
exec --no-startup-id blueman-applet
@ -559,17 +487,20 @@ exec --no-startup-id blueman-applet
exec --no-startup-id "clipmenud"
# Start xscreensaver
exec --no-startup-id "xscreensaver -no-splash"
#exec --no-startup-id "xscreensaver -no-splash"
# Start Pulseaudio Server
#already started
#exec --no-startup-id "pulseaudio --start"
# Start dockd Daemon
exec --no-startup-id dockd --daemon
# Start dunst-notifyd Service
exec --no-startup-id "dunst"
# Start ntfy
exec --no-startup-id "/usr/bin/ntfy subscribe --config /etc/ntfy/client.yml --from-config"
#exec --no-startup-id "/usr/bin/ntfy subscribe --config /etc/ntfy/client.yml --from-config"
# Start volumeicon tray paystray (pulseaudio)
#exec --no-startup-id "pasystray --notify=all"
@ -581,7 +512,7 @@ exec --no-startup-id "/usr/bin/ntfy subscribe --config /etc/ntfy/client.yml --fr
exec --no-startup-id lxpolkit
# xfce4-power-manager
exec --no-startup-id xfce4-power-manager
#exec --no-startup-id xfce4-power-manager
# start gnome-keyring-daemon
#exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh,secrets,pkcs11

View file

@ -5,7 +5,7 @@ lock() {
case "$1" in
lock)
i3lock -c 000000
i3lock -i ~/desktop-bilder/bluescreen_full-hd.png -t
;;
logout)
i3-msg exit

View file

@ -48,7 +48,7 @@ critical_mem = 90
block = "sound"
[[block.click]]
button = "left"
cmd = "pavucontrol-qt"
cmd = "pavucontrol"
[[block]]
block = "time"
@ -56,17 +56,11 @@ interval = 5
#format = " $timestamp.datetime(f:'%a %d/%m %R') "
format = " $timestamp.datetime(f:'%a %Y-%m-%d %H:%M:%S') "
[[block]]
block = "hueshift"
hue_shifter = "wl_gammarelay_rs"
step = 50
click_temp = 3500
[[block]]
block = "backlight"
format = " $brightness "
[[block]]
block = "battery"
format = " $icon $percentage {$time |}"
format = " $icon $percentage {$time |}"
missing_format = ""

View file

@ -32,7 +32,7 @@ set $urgent-bg-color #E53935
#font pango:Terminus (TTF) Bold 12
#font pango:Hack Nerd Font 13
#font pango:Hack 12
font pango:monospaced 12
font pango:monospace 12
# window colors
# border background text indicat>

1
dot_xinitrc Normal file
View file

@ -0,0 +1 @@
exec i3