mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-21 22:59:38 +01:00
Compare commits
4 Commits
b73d6d8218
...
735f278b4f
Author | SHA1 | Date | |
---|---|---|---|
735f278b4f | |||
4e8fd092de | |||
565127dd1e | |||
34f2b6d057 |
@ -56,7 +56,7 @@ update_ms = 2000
|
||||
|
||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||
proc_sorting = "cpu lazy"
|
||||
proc_sorting = "memory"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed = False
|
||||
@ -211,4 +211,4 @@ selected_battery = "Auto"
|
||||
|
||||
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
||||
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
||||
log_level = "WARNING"
|
||||
log_level = "WARNING"
|
@ -17,3 +17,6 @@ XDG_RUNTIME_DIR=/run/user/1000
|
||||
# / step values
|
||||
|
||||
* * * * * /home/sahin/scripts/check-battery.sh 10
|
||||
|
||||
# at each hour, remove files older than 30 days in trash directory
|
||||
0 * * * * find /home/sahin/trash -maxdepth 1 -type f -mtime +30 | xargs -i readlink -f {} | xargs -i rm {}
|
||||
|
@ -7,14 +7,18 @@
|
||||
theme=$(darkman get)
|
||||
PATH="$HOME/.local/bin/:$PATH"
|
||||
|
||||
if [ $theme == "dark" ]; then
|
||||
if [ "$theme" == "dark" ]; then
|
||||
sed -i 's/kanagawa_light.conf/kanagawa.conf/g' "$HOME/.config/kitty/kitty.conf"
|
||||
sed -i 's/tokyonight_day/tokyonight_storm/g' "$HOME/.config/kitty/kitty.conf"
|
||||
sed -i 's/Light/Origin/g' "$HOME/.config/bat/config"
|
||||
sed -i 's/flat-remix-light/tokyo-storm/g' "$HOME/.config/btop/btop.conf"
|
||||
sed -i "\$s/.*/include dark-256.theme/" "$HOME/.config/task/taskrc"
|
||||
else
|
||||
sed -i 's/kanagawa.conf/kanagawa_light.conf/g' "$HOME/.config/kitty/kitty.conf"
|
||||
sed -i 's/tokyonight_storm/tokyonight_day/g' "$HOME/.config/kitty/kitty.conf"
|
||||
sed -i 's/Origin/Light/g' "$HOME/.config/bat/config"
|
||||
sed -i 's/tokyo-storm/flat-remix-light/g' "$HOME/.config/btop/btop.conf"
|
||||
sed -i "\$s/.*/include light-256.theme/" "$HOME/.config/task/taskrc"
|
||||
fi
|
||||
|
||||
kill -SIGUSR1 $(pgrep kitty)
|
||||
|
@ -18,7 +18,7 @@ monitor=,preferred,auto,auto
|
||||
# centered
|
||||
# monitor=eDP-1,preferred,500x1107,2.0
|
||||
monitor=eDP-1,preferred,0x1107,2.0
|
||||
monitor=HDMI-A-1,preferred,0x0,1.3
|
||||
# monitor=HDMI-A-1,preferred,0x0,1.333333
|
||||
|
||||
|
||||
# monitor=eDP-1, disable
|
||||
@ -34,14 +34,14 @@ exec-once = ags
|
||||
exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1
|
||||
|
||||
exec-once = swaybg -i "$HOME/Pictures/Wallpapers/minimal.jpg"
|
||||
# Dim screen after 60 seconds of inactivity
|
||||
exec-once = swayidle -w timeout 60 'dim-screen &' resume 'undim-screen'
|
||||
# Lock screen after idle for 120s
|
||||
exec-once = swayidle -w timeout 120 'lock-screen'
|
||||
# Dim screen 5 seconds after screen is locked. no -w option here.
|
||||
exec-once = swayidle timeout 5 'if pgrep -x swaylock; then dim-screen; fi' resume 'undim-screen'
|
||||
# Turn monitors off 20 seconds after screen is locked
|
||||
exec-once = swayidle -w timeout 20 'if pgrep -x swaylock; then hyprctl dispatch dpms off; fi' resume 'hyprctl dispatch dpms on'
|
||||
# Dim screen after 120 seconds of inactivity
|
||||
exec-once = swayidle -w timeout 120 'dim-screen &' resume 'undim-screen'
|
||||
# Lock screen after idle for 240s
|
||||
# exec-once = swayidle -w timeout 240 'lock-screen'
|
||||
# Dim screen 10 seconds after screen is locked. no -w option here.
|
||||
exec-once = swayidle timeout 10 'if pgrep -x swaylock; then dim-screen; fi' resume 'undim-screen'
|
||||
# Turn monitors off 30 seconds after screen is locked
|
||||
# exec-once = swayidle -w timeout 30 'if pgrep -x swaylock; then hyprctl dispatch dpms off; fi' resume 'hyprctl dispatch dpms on'
|
||||
|
||||
# exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
|
||||
|
||||
@ -88,6 +88,11 @@ device:apple-mtp-keyboard {
|
||||
kb_rules =
|
||||
}
|
||||
|
||||
device:compx-2.4g-receiver-mouse {
|
||||
sensitivity = -1 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
@ -122,7 +127,7 @@ decoration {
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
|
||||
dim_inactive = true
|
||||
dim_strength = 0.1 # how much inactive windows should be dimmed, 0.0 - 1.0
|
||||
dim_strength = 0.05 # how much inactive windows should be dimmed, 0.0 - 1.0
|
||||
dim_around = 0.5 # how much the dimaround window rule should dim by. 0.0 - 1.0
|
||||
|
||||
}
|
||||
@ -219,8 +224,8 @@ $mod = SUPER
|
||||
|
||||
bind = $mod, tab, workspace, previous
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mod, return, exec, open-kitty-or-focus
|
||||
# bind = $mod, return, exec, kitty --single-instance
|
||||
# bind = $mod, return, exec, open-kitty-or-focus
|
||||
bind = $mod, return, exec, kitty --single-instance
|
||||
bind = $mod, q, killactive,
|
||||
bind = $mod, c, exec, smart-exec
|
||||
bind = $mod control, q, exit,
|
||||
@ -296,7 +301,7 @@ bind = $mod, 6, workspace, 6
|
||||
bind = $mod, 7, workspace, 7
|
||||
bind = $mod, 8, workspace, 8
|
||||
bind = $mod, 9, workspace, 9
|
||||
bind = $mod, 0, workspace, 10
|
||||
# bind = $mod, 0, workspace, 10
|
||||
|
||||
bind = $mod, comma, swapnext, prev
|
||||
bind = $mod, period, swapnext
|
||||
@ -316,12 +321,12 @@ bind = $mod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mod SHIFT, 0, movetoworkspace, 10
|
||||
# bind = $mod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
|
||||
# Scroll through existing workspaces with mod + scroll
|
||||
bind = $mod, mouse_down, workspace, e+1
|
||||
bind = $mod, mouse_up, workspace, e-1
|
||||
bind = $mod, 0, togglespecialworkspace, magic2
|
||||
bind = $mod SHIFT, 0, movetoworkspace, special:magic2
|
||||
|
||||
|
||||
# Move/resize windows with mod + LMB/RMB and dragging
|
||||
bindm = $mod, mouse:272, movewindow
|
||||
@ -329,7 +334,7 @@ bindm = $mod, mouse:273, resizewindow
|
||||
|
||||
# Scroll through existing workspaces with mod + scroll
|
||||
# doesn't seem to work with touchpad.
|
||||
# check and see if this works with mouse
|
||||
# check and see if this works with mouse: yep, it works
|
||||
bind = $mod, mouse_down, workspace, e+1
|
||||
bind = $mod, mouse_up, workspace, e-1
|
||||
|
||||
@ -345,6 +350,9 @@ bindle=,XF86AudioRaiseVolume, exec, volume up
|
||||
bindle=,XF86AudioLowerVolume, exec, volume down
|
||||
bindle=,XF86AudioMute, exec, volume toggle-mute
|
||||
|
||||
bindle=, F4, exec, grim -g "$(slurp)" - | swappy -f -
|
||||
bindle=$mod, x, exec, grim - | swappy -f -
|
||||
|
||||
# bindle=, XF86KbdBrightnessUp, exec, keyboard_backlight inc
|
||||
# bindle=, XF86KbdBrightnessDown, exec, keyboard_backlight dec
|
||||
|
||||
@ -393,7 +401,7 @@ windowrulev2 = noborder,class:(wofi)
|
||||
#
|
||||
# # bind=SUPER,mouse_down,workspace,e-1
|
||||
#
|
||||
# # bindle=, Print, exec, flameshot gui
|
||||
# bindle=, Print, exec, grim -g "$(slurp)" - | swappy -f -
|
||||
# # bindr=SUPER, SUPER_L, exec, pkill wofi || wofi --show drun
|
||||
#
|
||||
#
|
||||
|
@ -13,7 +13,7 @@ clear_all_shortcuts yes
|
||||
|
||||
|
||||
# kitty-scrollback.nvim Kitten alias
|
||||
action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py --no-nvim-args
|
||||
action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
|
||||
|
||||
# include ./themes/themes/OneDark.conf
|
||||
# include ~/.local/share/nvim/lazy/tokyonight.nvim/extras/kitty/tokyonight_day.conf
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 1e06adb67650594dd595746569156717b09e7bd2
|
||||
Subproject commit fce1f36161e3091deb090a24ebde984a7aaf0119
|
@ -27,11 +27,11 @@ hooks.location=~/.config/task/hooks
|
||||
|
||||
|
||||
# Color theme (uncomment one to use)
|
||||
include solarized-dark-256.theme
|
||||
#include dark-16.theme
|
||||
#include light-16.theme
|
||||
#include light-256.theme
|
||||
#include dark-256.theme
|
||||
# include solarized-dark-256.theme
|
||||
# include dark-16.theme
|
||||
# include light-16.theme
|
||||
# include light-256.theme
|
||||
# include dark-256.theme
|
||||
#include dark-red-256.theme
|
||||
#include dark-green-256.theme
|
||||
#include dark-blue-256.theme
|
||||
@ -45,3 +45,4 @@ include solarized-dark-256.theme
|
||||
news.version=2.6.0
|
||||
#
|
||||
color.calendar.holiday=black on yellow
|
||||
include light-256.theme
|
||||
|
@ -30,11 +30,21 @@
|
||||
# st.color7: #ACB0D0
|
||||
# st.color15: #ABB2BF
|
||||
|
||||
darker_accent="#e0af68"
|
||||
accent="#528ef5"
|
||||
lighter_accent="#3b4261"
|
||||
# # tokyonight
|
||||
# darker_accent="#e0af68"
|
||||
# accent="#518DF6"
|
||||
# lighter_accent="#0B55D5"
|
||||
# bg="default"
|
||||
# fg_text="#111111"
|
||||
|
||||
|
||||
# kanagawa
|
||||
darker_accent="#44300D"
|
||||
accent="#986e1f"
|
||||
lighter_accent="#664915"
|
||||
bg="default"
|
||||
fg_text="#111111"
|
||||
fg_text="#E4BC77"
|
||||
|
||||
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
||||
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
||||
mode="#{?pane_in_mode,#[reverse] #{pane_mode} #[noreverse],}"
|
||||
@ -56,9 +66,9 @@ setw -g window-status-activity-style "none"
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-style "none,fg=$fg_text,bg=$bg"
|
||||
|
||||
set -g status-left "#[fg=$fg_text,bg=$accent] #S #[fg=$accent,bg=$bg,nobold,nounderscore,noitalics] "
|
||||
set -g status-left "#[fg=$fg_text,bg=$lighter_accent] #S #[fg=$lighter_accent,bg=$bg,nobold,nounderscore,noitalics] "
|
||||
|
||||
setw -g window-status-format "#[fg=$lighter_accent,bg=$bg]#[fg=$accent,bg=$lighter_accent] #I#[fg=$accent,bg=$lighter_accent]#W#[bg=$bg,fg=$lighter_accent]"
|
||||
setw -g window-status-format "#[fg=$lighter_accent,bg=$bg]#[fg=$fg_text,bg=$lighter_accent] #I#[fg=$fg_text,bg=$lighter_accent]#W#[bg=$bg,fg=$lighter_accent]"
|
||||
setw -g window-status-current-format "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent,bold]#I#[fg=$fg_text,bg=$accent]#W#F#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]"
|
||||
|
||||
# set -g status-right "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent] $uptime %H:%M %d/%m/%Y#[bg=$accent,fg=$darker_accent,nobold,nounderscore,noitalics]#[bg=$fg_text,fg=$darker_accent,bold]$prefix$sync$mode"
|
||||
|
@ -11,7 +11,7 @@
|
||||
# st.color5: #9854f1
|
||||
# st.color6: #007197
|
||||
# st.color7: #6172b0
|
||||
# st.color8: #a1a6c5
|
||||
# st.color8: #a1a6c5j
|
||||
# st.color9: #f52a65
|
||||
# st.color10: #587539
|
||||
# st.color11: #8c6c3e
|
||||
@ -28,12 +28,20 @@
|
||||
# prefix_color="colour11"
|
||||
|
||||
# TokyoNight colors for Tmux
|
||||
darker_accent="#6172b0"
|
||||
accent="#2e7de9"
|
||||
bg1="#d1d4e3"
|
||||
# darker_accent="#6172b0"
|
||||
# accent="#2e7de9"
|
||||
# bg1="#d1d4e3"
|
||||
# bg2="default"
|
||||
# grayish="#a8aecb"
|
||||
# prefix_color="#8c6c3e"
|
||||
|
||||
# kanagawa colors
|
||||
darker_accent="#727169"
|
||||
accent="#727169"
|
||||
bg1="#DCD7BA"
|
||||
bg2="default"
|
||||
grayish="#a8aecb"
|
||||
prefix_color="#8c6c3e"
|
||||
grayish="#C8C093"
|
||||
prefix_color="#77713f"
|
||||
|
||||
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
||||
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
||||
|
@ -1,12 +1,20 @@
|
||||
# remap prefix to Control + Space
|
||||
set -g prefix C-Space
|
||||
bind C-Space last-window
|
||||
set -g prefix C-s
|
||||
bind C-s send-prefix
|
||||
bind-key C-] send-keys "C-]"
|
||||
# set -g prefix Escape
|
||||
# bind Escape send-keys Escape
|
||||
# bind "'" last-window
|
||||
bind "'" last-window
|
||||
unbind C-b
|
||||
|
||||
set-option -g allow-passthrough on
|
||||
set -sg escape-time 0 # see https://github.com/neovim/neovim/issues/2035
|
||||
|
||||
|
||||
### required for showing images in terminal
|
||||
set-option -gq allow-passthrough on
|
||||
# for hiding images when window is switched
|
||||
set -g visual-activity off
|
||||
###
|
||||
|
||||
# Smart pane switching with awareness of Vim splits.
|
||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit fa451e2629328a0cca6fffdc3c46d99f25d544ab
|
||||
Subproject commit 09c94608f138365dce102b8a5ef92c6214d1c870
|
Loading…
Reference in New Issue
Block a user