changes due to nixos

This commit is contained in:
Lorenz Hohermuth 2024-08-02 21:42:43 +02:00
parent 5b96e00077
commit 95bb580d59
6 changed files with 85 additions and 19 deletions

View File

@ -15,10 +15,6 @@ set $alt Mod1
########################## Monitors #########################################
#############################################################################
exec --no-startup-id xrandr --output HDMI-1 --left-of DP-1 --auto
set $firstmonitor DP-1
set $secondmonitor HDMI-1
# Enable Tap Click
exec_always "xinput set-prop 'ELAN07A4:00 04F3:3244 Touchpad' 'libinput Tapping Enabled' 1"
@ -26,8 +22,6 @@ exec_always "xinput set-prop 'ELAN07A4:00 04F3:3244 Touchpad' 'libinput Tapping
bindsym Print exec flameshot gui
bindsym $mod+p exec "bash /home/lorenz/.config/i3/rofi/screenmenu.sh"
bindsym $mod+i exec "gnome-control-center"
bindsym $mod+q exec "nautilus"
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:UbuntuMonoNerdFont-Regular 10
@ -217,10 +211,10 @@ bindsym $mod+r mode "resize"
exec_always "bash $HOME/.config/polybar/launch.sh"
#colors: border backgr. text indicator
client.focused #C90E6F #C90E6F #ffffff #2b2b2b
client.focused_inactive #4D4D4D #2b2b2b #ffffff #2b2b2b
client.unfocused #4D4D4D #2b2b2b #ffffff #2b2b2b
client.urgent #900000 #900000 #ffffff #2b2b2b
client.focused #C90E6F #C90E6F #ffffff #C90E6F
client.focused_inactive #4D4D4D #2b2b2b #ffffff #C90E6F
client.unfocused #4D4D4D #2b2b2b #ffffff #C90E6F
client.urgent #900000 #900000 #ffffff #C90E6F
client.background #333333

View File

@ -0,0 +1,43 @@
[dmenu]
dmenu_command = rofi -dmenu -i
# # Note that dmenu_command can contain arguments as well like:
# # `dmenu_command = rofi -dmenu -i -theme nmdm`
# # `dmenu_command = rofi -dmenu -width 30 -i`
# # `dmenu_command = dmenu -i -l 25 -b -nb #909090 -nf #303030`
# # `dmenu_command = fuzzel --dmenu`
# # `dmenu_command = wofi --dmenu`
active_chars =
# wifi_chars = <string of 4 unicode characters representing 1-4 bars strength>
wifi_chars = ▂▄▆█
# wifi_icons = <characters representing signal strength as an icon>
# wifi_icons = 󰤯󰤟󰤢󰤥󰤨
# format = <Python style format string for the access point entries>
# format = {name} {sec} {bars}
# # Available variables are:
# # * {name} - Access point name
# # * {sec} - Security type
# # * {signal} - Signal strength on a scale of 0-100
# # * {bars} - Bar-based display of signal strength (see wifi_chars)
# # * {icon} - Icon-based display of signal strength (see wifi_icons)
# # * {max_len_name} and {max_len_sec} are the maximum lengths of {name} / {sec}
# # respectively and may be useful for formatting.
# list_saved = <True or False> # (Default: False) list saved connections
[dmenu_passphrase]
# # Uses the -password flag for Rofi, -x for bemenu. For dmenu, sets -nb and
# # -nf to the same color or uses -P if the dmenu password patch is applied
# # https://tools.suckless.org/dmenu/patches/password/
# obscure = True
# obscure_color = #222222
[pinentry]
# description = <Pinentry description> (Default: Get network password)
# prompt = <Pinentry prompt> (Default: Password:)
[editor]
# terminal = <name of terminal program> <arguments>
# gui_if_available = <True or False> (Default: True)
# gui = <name of gui editor> (Default: nm-connection-editor)
[nmdm]
# rescan_delay = <seconds> # (seconds to wait after a wifi rescan before redisplaying the results)

View File

@ -3,8 +3,7 @@
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
@ -51,7 +50,7 @@ separator-foreground = ${colors.disabled}
font-0 = "Iosevka Nerd Font:size=10;2"
modules-left = xworkspaces xwindow
modules-right = pulseaudio memory cpu battery wlan date
modules-right = pulseaudio memory cpu battery wlan date powermenu
cursor-click = pointer
cursor-scroll = ns-resize
@ -60,7 +59,7 @@ enable-ipc = true
; wm-restack = generic
; wm-restack = bspwm
; wm-restack = i3
wm-restack = i3
; override-redirect = true
@ -106,6 +105,8 @@ label-unmounted-foreground = ${colors.disabled}
[module/pulseaudio]
type = internal/pulseaudio
sink = lsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
use-ui-max = false
format-volume-prefix = "󰕾 Vol "
format-volume-prefix-foreground = ${colors.primary}
@ -119,7 +120,7 @@ label-muted-foreground = ${colors.disabled}
[module/battery]
type = internal/battery
full-at = 99
full-at = 100
low-at = 20
battery = BAT0
format-charging-prefix = "󰂄 BAT "
@ -155,7 +156,7 @@ label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " Cpu "
format-prefix = " Cpu "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
@ -186,7 +187,7 @@ label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
type = internal/date
interval = 1
date = "󰃭 %m.%d %H:%M:%S"
date = "󰃭 %d.%m.%Y %H:%M:%S"
date-alt = %Y-%m-%d %H:%M:%S
label = %date%
@ -197,3 +198,30 @@ screenchange-reload = true
pseudo-transparency = true
; vim:ft=dosini
[module/powermenu]
type = custom/menu
format-foreground = ${colors.foreground}
format-background = ${colors.background}
label-open = " "
;label-open-font = 4
label-close = " "
label-close-foreground = ${colors.alert}
label-separator = " / "
label-separator-foreground = ${colors.disabled}
; reboot
menu-0-1 = " "
menu-0-1-exec = systemctl reboot
; shutdown
menu-0-0 = " "
menu-0-0-exec = systemctl poweroff
; lock
menu-0-2 = "󰒲 "
menu-0-2-exec = "bash ~/.config/i3/lockscreen.sh && systemctl suspend"

1
.config/ranger/rc.conf Normal file
View File

@ -0,0 +1 @@
set show_hidden true

View File

@ -72,7 +72,7 @@ unbind p
bind-key -r n new-window -c "#{pane_current_path}"
bind-key -r i run-shell "tmux neww ~/dotfiles/cht.sh"
bind-key -r e run-shell "tmux neww nautilus --browser #{pane_current_path}"
bind-key -r e run-shell "tmux neww ranger #{pane_current_path}"
#Info
run-shell 'echo reloaded .tmux.conf ...'

2
.zshrc
View File

@ -83,7 +83,7 @@ export MANPATH="/usr/local/man:$MANPATH"
# alias ohmyzsh="mate ~/.oh-my-zsh"
#
export PATH=$PATH:"$GOPATH/bin:$HOME/scripts:$HOME/bin:/usr/local/lib/sts/cmd"
export PATH=$PATH:"$GOPATH/bin:$HOME/scripts:$HOME/bin:/usr/local/lib/sts/cmd:/usr/local/bin"
export GOPATH=$HOME/go
export XDG_CONFIG_HOME="$HOME/.config"