Add theme, mouse sensitive, screenshot

This commit is contained in:
wancat
2022-01-15 00:49:11 +08:00
parent ca69c1ce00
commit f4c3c8e259
2 changed files with 89 additions and 6 deletions

View File

@@ -26,14 +26,16 @@ font pango:monospace 12
# screen before suspend. Use loginctl lock-session to lock your screen. # screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# exec xinput --set-prop 15 165 0.5 0 0 0 0.5 0 0 0 1 exec_always xinput --set-prop 'pointer:Razer Razer Basilisk X HyperSpeed' 165 0.5 0 0 0 0.5 0 0 0 1
# exec xinput --set-prop 15 'libinput Accel Speed' -1 exec_always xinput --set-prop 'pointer:Razer Razer Basilisk X HyperSpeed' 'libinput Accel Speed' -1
exec --no-startup-id feh --randomize --bg-center ~/Pictures/* exec_always feh --randomize --bg-center ~/Nextcloud/Photos/Anime/風起/*
exec ibus-daemon -drx exec --no-startup-id nextcloud --background
# NetworkManager is the most popular way to manage wireless networks on Linux, # NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it. # and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet exec --no-startup-id nm-applet --sm-disable
bindsym --release Print exec --no-startup-id import ~/Pictures/Screenshot-$(date --iso-8601=seconds).png
# Use pactl to adjust volume in PulseAudio. # Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status killall -SIGUSR1 i3status
@@ -185,6 +187,29 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
# class border bground text indicator child_border
# bindsym $mod+d exec "dmenu_run -nf '#BBBBBB' -nb '#2B121A' -sb '#774C5E' -sf '#EEEEEE' -fn 'monospace-10' -p 'dmenu prompt >'"
# class border bground text indicator child_border
client.focused #FFFFFF #D48AA0 #FFFFFF #FFFFFF #FFFFFF
client.focused_inactive #FFFFFF #5C3B4F #FFFFFF #FFFFFF #FFFFFF
client.unfocused #FFFFFF #A1678A #CACACA #FFFFFF #FFFFFF
client.urgent #FFFFFF #C43939 #FFFFFF #FFFFFF #FFFFFF
client.placeholder #FFFFFF #5D3434 #FFFFFF #FFFFFF #FFFFFF
client.background #FFFFFF
bar { bar {
status_command i3status status_command i3status
colors {
background #431F2A
statusline #FFFFFF
separator #FFFFFF
focused_workspace #303030 #D48AA0 #FFFFFF
active_workspace #333333 #895353 #FFFFFF
inactive_workspace #333333 #895353 #888888
urgent_workspace #2F343A #CF5B5B #FFFFFF
binding_mode #2F343A #900000 #FFFFFF
}
} }

58
i3status_config Normal file
View File

@@ -0,0 +1,58 @@
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
output_format = "i3bar"
colors = true
color_good = "#76E474"
color_degraded = "#EDE15F"
color_bad = "#FF5555"
}
# order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
# order += "battery all"
# order += "disk /"
order += "load"
order += "memory"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
disk "/" {
format = "%avail"
}
load {
format = "%1min"
}
memory {
format = "%used | %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}