fix configs

This commit is contained in:
Simon Rieger 2023-05-02 14:37:43 +02:00
parent dc2bb92342
commit 1c5dee2911
14 changed files with 41 additions and 192 deletions

View file

@ -1,6 +0,0 @@
# erstellt von KDE-Plasma, Mo. Okt. 3 18:08:55 2022
#
#include "/usr/share/themes/Breeze/gtk-2.0/gtkrc"
#gtk-theme-name="Breeze"

View file

@ -1,5 +0,0 @@
# erstellt von KDE-Plasma, Mo. Okt. 3 18:08:55 2022
#
#gtk-alternative-button-order = 1

View file

@ -1,7 +0,0 @@
file:///home/simono41/Bilder Bilder
file:///home/simono41/Dokumente Dokumente
file:///home/simono41/Downloads Downloads
file:///home/simono41/Musik Musik
file:///home/simono41/Public Public
file:///home/simono41/Templates Templates
file:///home/simono41/Videos Videos

View file

@ -1,84 +0,0 @@
@define-color borders_breeze #5f6265;
@define-color content_view_bg_breeze #1b1e20;
@define-color error_color_backdrop_breeze #da4453;
@define-color error_color_breeze #da4453;
@define-color error_color_insensitive_backdrop_breeze #592930;
@define-color error_color_insensitive_breeze #592930;
@define-color insensitive_base_color_breeze #1a1d1f;
@define-color insensitive_base_fg_color_breeze #656768;
@define-color insensitive_bg_color_breeze #282c30;
@define-color insensitive_borders_breeze #3a3d41;
@define-color insensitive_fg_color_breeze #6e7173;
@define-color insensitive_selected_bg_color_breeze #282c30;
@define-color insensitive_selected_fg_color_breeze #6e7173;
@define-color insensitive_unfocused_bg_color_breeze #282c30;
@define-color insensitive_unfocused_fg_color_breeze #6e7173;
@define-color insensitive_unfocused_selected_bg_color_breeze #282c30;
@define-color insensitive_unfocused_selected_fg_color_breeze #6e7173;
@define-color link_color_breeze #1d99f3;
@define-color link_visited_color_breeze #9b59b6;
@define-color success_color_backdrop_breeze #27ae60;
@define-color success_color_breeze #27ae60;
@define-color success_color_insensitive_backdrop_breeze #1e4d34;
@define-color success_color_insensitive_breeze #1e4d34;
@define-color theme_base_color_breeze #1b1e20;
@define-color theme_bg_color_breeze #2a2e32;
@define-color theme_button_background_backdrop_breeze #31363b;
@define-color theme_button_background_backdrop_insensitive_breeze #2f3338;
@define-color theme_button_background_insensitive_breeze #2f3338;
@define-color theme_button_background_normal_breeze #31363b;
@define-color theme_button_decoration_focus_backdrop_breeze #3daee9;
@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #335c72;
@define-color theme_button_decoration_focus_breeze #3daee9;
@define-color theme_button_decoration_focus_insensitive_breeze #335c72;
@define-color theme_button_decoration_hover_backdrop_breeze #3daee9;
@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #335c72;
@define-color theme_button_decoration_hover_breeze #3daee9;
@define-color theme_button_decoration_hover_insensitive_breeze #335c72;
@define-color theme_button_foreground_active_backdrop_breeze #fcfcfc;
@define-color theme_button_foreground_active_backdrop_insensitive_breeze #6e7173;
@define-color theme_button_foreground_active_breeze #fcfcfc;
@define-color theme_button_foreground_active_insensitive_breeze #6e7173;
@define-color theme_button_foreground_backdrop_breeze #fcfcfc;
@define-color theme_button_foreground_backdrop_insensitive_breeze #727679;
@define-color theme_button_foreground_insensitive_breeze #727679;
@define-color theme_button_foreground_normal_breeze #fcfcfc;
@define-color theme_fg_color_breeze #fcfcfc;
@define-color theme_header_background_backdrop_breeze #2a2e32;
@define-color theme_header_background_breeze #31363b;
@define-color theme_header_background_light_breeze #2a2e32;
@define-color theme_header_foreground_backdrop_breeze #fcfcfc;
@define-color theme_header_foreground_breeze #fcfcfc;
@define-color theme_header_foreground_insensitive_backdrop_breeze #fcfcfc;
@define-color theme_header_foreground_insensitive_breeze #fcfcfc;
@define-color theme_hovering_selected_bg_color_breeze #3daee9;
@define-color theme_selected_bg_color_breeze #3daee9;
@define-color theme_selected_fg_color_breeze #fcfcfc;
@define-color theme_text_color_breeze #fcfcfc;
@define-color theme_titlebar_background_backdrop_breeze #2a2e32;
@define-color theme_titlebar_background_breeze #31363b;
@define-color theme_titlebar_background_light_breeze #2a2e32;
@define-color theme_titlebar_foreground_backdrop_breeze #fcfcfc;
@define-color theme_titlebar_foreground_breeze #fcfcfc;
@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #fcfcfc;
@define-color theme_titlebar_foreground_insensitive_breeze #fcfcfc;
@define-color theme_unfocused_base_color_breeze #1b1e20;
@define-color theme_unfocused_bg_color_breeze #2a2e32;
@define-color theme_unfocused_fg_color_breeze #fcfcfc;
@define-color theme_unfocused_selected_bg_color_alt_breeze #1f485e;
@define-color theme_unfocused_selected_bg_color_breeze #1f485e;
@define-color theme_unfocused_selected_fg_color_breeze #fcfcfc;
@define-color theme_unfocused_text_color_breeze #fcfcfc;
@define-color theme_unfocused_view_bg_color_breeze #1a1d1f;
@define-color theme_unfocused_view_text_color_breeze #656768;
@define-color theme_view_active_decoration_color_breeze #3daee9;
@define-color theme_view_hover_decoration_color_breeze #3daee9;
@define-color tooltip_background_breeze #31363b;
@define-color tooltip_border_breeze #64686b;
@define-color tooltip_text_breeze #fcfcfc;
@define-color unfocused_borders_breeze #5f6265;
@define-color unfocused_insensitive_borders_breeze #3a3d41;
@define-color warning_color_backdrop_breeze #f67400;
@define-color warning_color_breeze #f67400;
@define-color warning_color_insensitive_backdrop_breeze #633914;
@define-color warning_color_insensitive_breeze #633914;

View file

@ -1 +0,0 @@
@import 'colors.css';

View file

@ -0,0 +1,15 @@
/** Some apps use titlebar class and some window */
.titlebar,
window {
border-radius: 0;
box-shadow: none;
}
/** also remove shaddows */
decoration {
box-shadow: none;
}
decoration:backdrop {
box-shadow: none;
}

View file

@ -1,9 +0,0 @@
[Settings]
gtk-application-prefer-dark-theme=true
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=24
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-font-name=Noto Sans, 10
gtk-icon-theme-name=Arc
gtk-primary-button-warps-slider=false

View file

@ -21,10 +21,6 @@ format = " $icon {$signal_strength $ip $ssid$frequency ^icon_net_down$speed_dow
button = "left" button = "left"
cmd = "wezterm start nmtui" cmd = "wezterm start nmtui"
[[block]]
block = "external_ip"
format = " $ip $country_code "
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1 interval = 1
@ -43,8 +39,10 @@ format = " $icon root: $available.eng(w:2) "
[[block]] [[block]]
block = "memory" block = "memory"
format = " $icon $mem_total_used_percents.eng(w:2) " format = " $icon $mem_used_percents.eng(w:1) "
format_alt = " $icon_swap $swap_used_percents.eng(w:2) " interval = 30
warning_mem = 70
critical_mem = 90
[[block]] [[block]]
block = "sound" block = "sound"

View file

@ -1,8 +1,8 @@
sort=-time sort=-time
layer=overlay layer=overlay
background-color=#2e3440 background-color=#2e3440
width=300 width=600
height=110 height=300
border-size=2 border-size=2
border-color=#88c0d0 border-color=#88c0d0
border-radius=15 border-radius=15
@ -11,6 +11,7 @@ max-icon-size=64
default-timeout=5000 default-timeout=5000
ignore-timeout=1 ignore-timeout=1
font=monospace 14 font=monospace 14
on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga
[urgency=low] [urgency=low]
border-color=#cccccc border-color=#cccccc

View file

@ -266,6 +266,13 @@ input * {
tap enabled tap enabled
natural_scroll disabled natural_scroll disabled
middle_emulation enabled middle_emulation enabled
# Flat or adaptative
accel_profile adaptive
# Between -1.0 and 1.0
pointer_accel 0.4
repeat_rate 100 repeat_rate 100
repeat_delay 250 repeat_delay 250
xkb_layout de xkb_layout de
@ -278,10 +285,12 @@ seat seat0 xcursor_theme capitaine-cursors 16
# display resoulution # display resoulution
output eDP-1 pos 0 0 res 1920x1080 output eDP-1 pos 0 0 res 1920x1080
exec_always import-gsettings \ exec_always {
gtk-theme:Arc-Dark \ gsettings set org.gnome.desktop.interface cursor-theme capitaine-cursors
icon-theme:Arc \ gsettings set org.gnome.desktop.interface gtk-theme Arc-Dark
cursor-theme:capitaine-cursors gsettings set org.gnome.desktop.interface icon-theme Arc
gsettings set org.gnome.desktop.wm.preferences theme "Arc-Dark"
}
# background # background
output "*" background ~/desktop-bilder/background.jpg fill output "*" background ~/desktop-bilder/background.jpg fill
@ -451,65 +460,18 @@ bindsym $mod+p exec wlogout -p layer-shell
# https://wiki.archlinux.org/index.php/i3#Shutdown.2C_reboot.2C_lock_screen # 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 set $mode_system System (1) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (d) shutdown
mode "$mode_system" { mode "$mode_system" {
bindsym 1 exec --no-startup-id ~/scripte/swayexit lock, mode "default" bindsym 1 exec --no-startup-id ~/.config/sway/swayexit lock, mode "default"
bindsym e exec --no-startup-id ~/scripte/swayexit logout, mode "default" bindsym e exec --no-startup-id ~/.config/sway/swayexit logout, mode "default"
bindsym s exec --no-startup-id ~/scripte/swayexit suspend, mode "default" bindsym s exec --no-startup-id ~/.config/sway/swayexit suspend, mode "default"
bindsym h exec --no-startup-id ~/scripte/swayexit hibernate, mode "default" bindsym h exec --no-startup-id ~/.config/sway/swayexit hibernate, mode "default"
bindsym r exec --no-startup-id ~/scripte/swayexit reboot, mode "default" bindsym r exec --no-startup-id ~/.config/sway/swayexit reboot, mode "default"
bindsym d exec --no-startup-id ~/scripte/swayexit shutdown, mode "default" bindsym d exec --no-startup-id ~/.config/sway/swayexit shutdown, mode "default"
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
} }
bindsym $mod+x mode "$mode_system" 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 ## Manual management of external displays
# Set the shortcuts and what they do # Set the shortcuts and what they do
set $mode_display Ext Screen (v) eDP ON, (h) HDMI ON, (x) eDP OFF, (y) HDMI OFF set $mode_display Ext Screen (v) eDP ON, (h) HDMI ON, (x) eDP OFF, (y) HDMI OFF

View file

@ -1,15 +0,0 @@
#!/bin/sh
# usage: import-gsettings
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
if [ ! -f "$config" ]; then exit 1; fi
gnome_schema="org.gnome.desktop.interface"
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')"
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')"
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')"
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')"
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
gsettings set "$gnome_schema" icon-theme "$icon_theme"
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name"